aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-02-17 18:24:15 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-02-17 18:24:15 +0000
commitc86291eb1c38f8617756ce299e58565a9d4e1f16 (patch)
tree55ea349af346100c5ce9fcfe4a935b1cb115a73a /java
parentf2a121d19d4ca66be50354e54dc6998523dd32ae (diff)
downloadports-c86291eb1c38f8617756ce299e58565a9d4e1f16.tar.gz
ports-c86291eb1c38f8617756ce299e58565a9d4e1f16.zip
Notes
Diffstat (limited to 'java')
-rw-r--r--java/jai/Makefile24
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>