diff options
author | antoine <antoine@FreeBSD.org> | 2014-02-18 02:18:12 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-02-18 02:18:12 +0800 |
commit | d59565b0722ba317038d3bd6d8c767beb1d6b66d (patch) | |
tree | deaf3d48508d3a94f7acff8088a3de098fe2431a /java | |
parent | cb0c5cce7b529b8ab087764777f51fbe43426ffc (diff) | |
download | freebsd-ports-gnome-d59565b0722ba317038d3bd6d8c767beb1d6b66d.tar.gz freebsd-ports-gnome-d59565b0722ba317038d3bd6d8c767beb1d6b66d.tar.zst freebsd-ports-gnome-d59565b0722ba317038d3bd6d8c767beb1d6b66d.zip |
- Stage support
- Remove infozip dependency
Diffstat (limited to 'java')
-rw-r--r-- | java/xdoclet/Makefile | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/java/xdoclet/Makefile b/java/xdoclet/Makefile index 99124559930f..232d74cd23e4 100644 --- a/java/xdoclet/Makefile +++ b/java/xdoclet/Makefile @@ -8,6 +8,7 @@ PORTEPOCH= 1 CATEGORIES= java devel MASTER_SITES= SF DISTNAME= ${PORTNAME}-bin-${PORTVERSION} +EXTRACT_SUFX= .zip DISTFILES= ${DISTNAME}.zip xjavadoc-${XJAVADOC_VER}.zip MAINTAINER= lxv@omut.org @@ -17,7 +18,6 @@ RUN_DEPENDS= ${LOCALBASE}/bin/ant:${PORTSDIR}/devel/apache-ant USE_JAVA= yes JAVA_VERSION= 1.6+ -USE_ZIP= yes NO_WRKSUBDIR= yes NO_BUILD= yes @@ -25,26 +25,16 @@ XJAVADOC_VER= 1.1 PLIST_SUB+= XJAVADOC_VER="${XJAVADOC_VER}" -.if !defined(NOPORTDOCS) PORTDOCS= * -.endif -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + do-install: - cd ${WRKSRC}/xdoclet-${PORTVERSION} && ${FIND} lib -name '*xdoclet*' -exec \ - ${INSTALL_DATA} \{} ${JAVAJARDIR} \; - cd ${WRKSRC}/xdoclet-${PORTVERSION}/samples && ${FIND} . -type d -exec \ - ${MKDIR} ${EXAMPLESDIR}/\{} \; - cd ${WRKSRC}/xdoclet-${PORTVERSION}/samples && ${FIND} . -type f -exec \ - ${INSTALL_DATA} \{} ${EXAMPLESDIR}/\{} \; + ${INSTALL_DATA} ${WRKSRC}/xdoclet-${PORTVERSION}/lib/*xdoclet* ${STAGEDIR}${JAVAJARDIR} + cd ${WRKSRC}/xdoclet-${PORTVERSION}/samples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} \ ${WRKSRC}/xjavadoc-${XJAVADOC_VER}/xjavadoc-${XJAVADOC_VER}.jar \ - ${JAVAJARDIR} -.if !defined(NOPORTDOCS) - cd ${WRKSRC}/xdoclet-${PORTVERSION}/docs && ${FIND} . -type d -exec \ - ${MKDIR} ${DOCSDIR}/\{} \; - cd ${WRKSRC}/xdoclet-${PORTVERSION}/docs && ${FIND} . -type f -exec \ - ${INSTALL_DATA} \{} ${DOCSDIR}/\{} \; -.endif + ${STAGEDIR}${JAVAJARDIR} + cd ${WRKSRC}/xdoclet-${PORTVERSION}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |