2012-12-10 14:18:28 +01:00
|
|
|
# Created by: Alex Dupre <ale@FreeBSD.org>
|
2007-10-24 15:21:22 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= javatar
|
|
|
|
PORTVERSION= 2.5
|
2008-06-06 15:08:29 +02:00
|
|
|
PORTREVISION= 1
|
2007-10-24 15:21:22 +02:00
|
|
|
CATEGORIES= archivers java
|
|
|
|
MASTER_SITES= http://www.gjt.org/download/time/java/tar/ \
|
|
|
|
ftp://ftp.gjt.org/pub/time/java/tar/
|
|
|
|
|
|
|
|
MAINTAINER= ale@FreeBSD.org
|
2012-12-18 08:57:31 +01:00
|
|
|
COMMENT= Java tar archive I/O package
|
2007-10-24 15:21:22 +02:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
RUN_DEPENDS= ${JAVALIBDIR}/activation.jar:java/jaf
|
2007-10-24 15:21:22 +02:00
|
|
|
|
|
|
|
USE_JAVA= yes
|
2012-12-10 14:18:28 +01:00
|
|
|
JAVA_VERSION= 1.6+
|
2007-10-24 15:21:22 +02:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
PORTDOCS= api LICENSE License.html readme.html tarman.html
|
|
|
|
|
|
|
|
JARFILES= tar.jar
|
|
|
|
PLIST_FILES= ${JARFILES:S,^,%%JAVAJARDIR%%/,}
|
|
|
|
|
2014-02-21 14:34:56 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2007-10-24 15:21:22 +02:00
|
|
|
do-install:
|
2014-03-31 16:37:43 +02:00
|
|
|
@${ECHO_MSG} -n ">> Install JAR file in ${STAGEDIR}${JAVAJARDIR}..."
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/jars/tar.jar ${STAGEDIR}${JAVAJARDIR}/
|
2007-10-24 15:21:22 +02:00
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
2014-03-31 16:37:43 +02:00
|
|
|
@${ECHO_MSG} -n ">> Installing documentation in ${STAGEDIR}${DOCSDIR}..."
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2007-10-24 15:21:22 +02:00
|
|
|
@cd ${WRKSRC}/doc && ${FIND} ${PORTDOCS} \
|
2014-03-31 16:37:43 +02:00
|
|
|
| ${CPIO} -pdmu ${STAGEDIR}${DOCSDIR} > /dev/null 2>&1
|
2007-10-24 15:21:22 +02:00
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|