diff options
author | antoine <antoine@FreeBSD.org> | 2014-02-18 02:24:15 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-02-18 02:24:15 +0800 |
commit | b8df7d4278840d218cd4dae1607e1f307042f083 (patch) | |
tree | 55ea349af346100c5ce9fcfe4a935b1cb115a73a | |
parent | a719f0cbed8148b82fb65050c646db3ae887b378 (diff) | |
download | freebsd-ports-gnome-b8df7d4278840d218cd4dae1607e1f307042f083.tar.gz freebsd-ports-gnome-b8df7d4278840d218cd4dae1607e1f307042f083.tar.zst freebsd-ports-gnome-b8df7d4278840d218cd4dae1607e1f307042f083.zip |
- Stage support
- Remove infozip dependency
-rw-r--r-- | java/jai/Makefile | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/java/jai/Makefile b/java/jai/Makefile index d1e87e4777af..049f4efcf974 100644 --- a/java/jai/Makefile +++ b/java/jai/Makefile @@ -7,6 +7,7 @@ PORTREVISION= 1 CATEGORIES= java graphics MASTER_SITES= http://download.java.net/media/${PORTNAME}/builds/release/${PORTVERSION:S/./_/g}/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/g}-lib +EXTRACT_SUFX= .zip MAINTAINER= java@FreeBSD.org COMMENT= High performance image processing libraries for Java @@ -16,7 +17,6 @@ JAVA_VERSION= 1.6+ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/./_/g} NO_BUILD= yes -USE_ZIP= yes SUB_FILES= pkg-message SUB_LIST= TARGET_DIR=${TARGET_DIR} PKGMESSAGE= ${WRKDIR}/pkg-message @@ -34,23 +34,15 @@ PORTDOCS= \ LICENSE-jai.txt \ THIRDPARTYLICENSEREADME-jai.txt -NO_STAGE= yes -.include <bsd.port.pre.mk> +OPTIONS_DEFINE= DOCS do-install: # documentation -.ifndef(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for file in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -.endfor -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} # jars - @${MKDIR} ${TARGET_DIR} - @${INSTALL_DATA} ${WRKSRC}/lib/jai_codec.jar ${TARGET_DIR} - @${INSTALL_DATA} ${WRKSRC}/lib/jai_core.jar ${TARGET_DIR} + @${MKDIR} ${STAGEDIR}${TARGET_DIR} + ${INSTALL_DATA} ${WRKSRC}/lib/jai_codec.jar ${STAGEDIR}${TARGET_DIR} + ${INSTALL_DATA} ${WRKSRC}/lib/jai_core.jar ${STAGEDIR}${TARGET_DIR} -post-install: - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |