1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

- Stage support

- Remove infozip dependency
This commit is contained in:
Antoine Brodin 2014-02-17 18:24:15 +00:00
parent f2a121d19d
commit c86291eb1c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344813

View File

@ -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>