diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2003-07-17 20:00:30 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2003-07-17 20:00:30 +0000 |
commit | 5fa0e11d7b77f9f158c17b3380ce7b0537a11d65 (patch) | |
tree | b26e3c16d7115eb81b9bf3cb6b6e608dbfb0a377 /java | |
parent | 759012b0c4e6de9c44e52ad2e0055440520035c2 (diff) | |
download | FreeBSD-ports-5fa0e11d7b77f9f158c17b3380ce7b0537a11d65.zip FreeBSD-ports-5fa0e11d7b77f9f158c17b3380ce7b0537a11d65.tar.gz |
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.
Diffstat (limited to 'java')
-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 93daf88..4aa1d6c 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 541a415..1f3a9f6 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 d71ee46..3dfcf8a 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 |