diff options
author | Sheldon Hearn <sheldonh@FreeBSD.org> | 2003-07-17 20:00:30 +0000 |
---|---|---|
committer | Sheldon Hearn <sheldonh@FreeBSD.org> | 2003-07-17 20:00:30 +0000 |
commit | eee48e2cb7cc54b4ae20107a9fc32e6d2946fa4e (patch) | |
tree | 8554f10a5e153a34f062e82868fc85c5b1e5b66e /java/xdoclet | |
parent | Remove some whitespace to quite portlint. (diff) |
1) Include xjavadoc, which I had installed locally, and without which
xdoclet doesn't work.
2) Remove empty stylesheets directory that was messing up packaging.
Notes
Notes:
svn path=/head/; revision=85065
Diffstat (limited to 'java/xdoclet')
-rw-r--r-- | java/xdoclet/Makefile | 12 | ||||
-rw-r--r-- | java/xdoclet/distinfo | 3 | ||||
-rw-r--r-- | java/xdoclet/pkg-plist | 2 |
3 files changed, 14 insertions, 3 deletions
diff --git a/java/xdoclet/Makefile b/java/xdoclet/Makefile index 93daf8829a09..4aa1d6c7d283 100644 --- a/java/xdoclet/Makefile +++ b/java/xdoclet/Makefile @@ -11,7 +11,7 @@ CATEGORIES= java devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} DISTNAME= ${PORTNAME}-bin-${PORTVERSION} -EXTRACT_SUFX= .tgz +DISTFILES= ${DISTNAME}.zip xjavadoc-${XJAVADOC_VER}.zip MAINTAINER= sheldonh@FreeBSD.org COMMENT= Java attribute-oriented code generation engine @@ -19,11 +19,18 @@ COMMENT= Java attribute-oriented code generation engine RUN_DEPENDS ${LOCALBASE}/bin/ant:${PORTSDIR}/devel/jakarta-ant USE_JAVA= 1.2+ +USE_ZIP= yes NO_WRKSUBDIR= yes NO_BUILD= yes NO_BUILD_DEPENDS_JAVA= yes CLASSDIR= ${PREFIX}/share/java/classes +XJAVADOC_VER= 1.0 + +PLIST_SUB+= XJAVADOC_VER="${XJAVADOC_VER}" + +post-extract: + ${RMDIR} ${WRKSRC}/docs/stylesheets do-install: ${MKDIR} ${CLASSDIR} ${DOCSDIR} ${EXAMPLESDIR} @@ -33,6 +40,9 @@ do-install: ${MKDIR} ${EXAMPLESDIR}/\{} \; cd ${WRKSRC}/samples && ${FIND} . -type f -exec \ ${INSTALL_DATA} \{} ${EXAMPLESDIR}/\{} \; + ${INSTALL_DATA} \ + ${WRKSRC}/xjavadoc-${XJAVADOC_VER}/xjavadoc-${XJAVADOC_VER}.jar \ + ${CLASSDIR} .if !defined(NOPORTDOCS) cd ${WRKSRC}/docs && ${FIND} . -type d -exec \ ${MKDIR} ${DOCSDIR}/\{} \; diff --git a/java/xdoclet/distinfo b/java/xdoclet/distinfo index 541a415335f2..1f3a9f68012b 100644 --- a/java/xdoclet/distinfo +++ b/java/xdoclet/distinfo @@ -1 +1,2 @@ -MD5 (xdoclet-bin-1.2b3.tgz) = 480b2958733f145e207522c6ef344a15 +MD5 (xdoclet-bin-1.2b3.zip) = 0d64a9fb9fc5930f7ec194dbd4a71615 +MD5 (xjavadoc-1.0.zip) = 49abd6c481cfeb8b0da97ebdb75c4048 diff --git a/java/xdoclet/pkg-plist b/java/xdoclet/pkg-plist index d71ee46e293d..3dfcf8a809bb 100644 --- a/java/xdoclet/pkg-plist +++ b/java/xdoclet/pkg-plist @@ -395,6 +395,7 @@ share/java/classes/xdoclet-tjdo-module-1.2b4.jar share/java/classes/xdoclet-web-module-1.2b4.jar share/java/classes/xdoclet-webwork-module-1.2b4.jar share/java/classes/xdoclet-xdoclet-module-1.2b4.jar +share/java/classes/xjavadoc-%%XJAVADOC_VER%%.jar %%PORTDOCS%%share/doc/xdoclet/ant/xdoclet/ConfigParameter.html %%PORTDOCS%%share/doc/xdoclet/ant/xdoclet/DocletTask.html %%PORTDOCS%%share/doc/xdoclet/ant/xdoclet/SubTask.html @@ -923,7 +924,6 @@ share/java/classes/xdoclet-xdoclet-module-1.2b4.jar @dirrm share/examples/xdoclet @dirrm share/doc/xdoclet/templates @dirrm share/doc/xdoclet/tags -@dirrm share/doc/xdoclet/stylesheets @dirrm share/doc/xdoclet/style @dirrm share/doc/xdoclet/licenses @dirrm share/doc/xdoclet/images/logos |