2012-12-10 13:18:28 +00:00
|
|
|
# Created by: OISHI Masakuni <yamasa@bsdhouse.org>
|
2004-01-11 10:48:33 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= jai
|
2008-03-24 05:18:55 +00:00
|
|
|
PORTVERSION= 1.1.3
|
2008-06-06 14:17:21 +00:00
|
|
|
PORTREVISION= 1
|
2004-01-11 10:48:33 +00:00
|
|
|
CATEGORIES= java graphics
|
2013-07-07 16:27:30 +00:00
|
|
|
MASTER_SITES= http://download.java.net/media/${PORTNAME}/builds/release/${PORTVERSION:S/./_/g}/
|
2008-03-24 05:18:55 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/g}-lib
|
2004-01-11 10:48:33 +00:00
|
|
|
|
|
|
|
MAINTAINER= java@FreeBSD.org
|
|
|
|
COMMENT= High performance image processing libraries for Java
|
|
|
|
|
2014-03-10 15:21:21 +00:00
|
|
|
USES= zip
|
2005-02-13 21:28:05 +00:00
|
|
|
USE_JAVA= yes
|
2012-12-10 13:18:28 +00:00
|
|
|
JAVA_VERSION= 1.6+
|
2004-01-11 10:48:33 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/./_/g}
|
|
|
|
NO_BUILD= yes
|
2008-03-24 05:18:55 +00:00
|
|
|
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
SUB_LIST= TARGET_DIR=${TARGET_DIR}
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
2004-01-11 10:48:33 +00:00
|
|
|
|
2013-03-18 21:56:30 +00:00
|
|
|
RESTRICTED= Redistribution is not permitted
|
2004-01-11 10:48:33 +00:00
|
|
|
|
2008-03-24 05:18:55 +00:00
|
|
|
DOWNLOAD_URL= http://java.sun.com/products/java-media/jai/current.html
|
2004-01-11 10:48:33 +00:00
|
|
|
|
|
|
|
TARGET_DIR= ${JAVASHAREDIR}/${PORTNAME}
|
2008-03-24 05:18:55 +00:00
|
|
|
PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///}
|
|
|
|
|
|
|
|
PORTDOCS= \
|
|
|
|
COPYRIGHT-jai.txt \
|
|
|
|
DISTRIBUTIONREADME-jai.txt \
|
|
|
|
LICENSE-jai.txt \
|
|
|
|
THIRDPARTYLICENSEREADME-jai.txt
|
2004-01-11 10:48:33 +00:00
|
|
|
|
2014-02-17 18:24:15 +00:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2004-01-11 10:48:33 +00:00
|
|
|
|
|
|
|
do-install:
|
2008-03-24 05:18:55 +00:00
|
|
|
# documentation
|
2014-02-17 18:24:15 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
2008-03-24 05:18:55 +00:00
|
|
|
# jars
|
2014-02-17 18:24:15 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${TARGET_DIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/jai_codec.jar ${STAGEDIR}${TARGET_DIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/jai_core.jar ${STAGEDIR}${TARGET_DIR}
|
2004-01-11 10:48:33 +00:00
|
|
|
|
2014-02-17 18:24:15 +00:00
|
|
|
.include <bsd.port.mk>
|