2013-09-20 19:04:43 +02:00
|
|
|
# Created by: Herve Quiroz <hq@FreeBSD.org>
|
2005-01-16 22:26:58 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= jsap
|
2007-02-10 23:39:35 +01:00
|
|
|
DISTVERSION= 2.1
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 2
|
2005-01-16 22:26:58 +01:00
|
|
|
CATEGORIES= devel java
|
2009-08-22 02:18:43 +02:00
|
|
|
MASTER_SITES= SF
|
2005-01-16 22:26:58 +01:00
|
|
|
DISTNAME= ${PORTNAME:U}-${DISTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= hq@FreeBSD.org
|
|
|
|
COMMENT= Java package to parse command-line arguments
|
|
|
|
|
|
|
|
USE_JAVA= yes
|
2012-12-10 12:25:27 +01:00
|
|
|
JAVA_VERSION= 1.6+
|
2005-01-16 22:26:58 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= ch01.html ch01s02.html ch02.html ch03.html ch03s02.html \
|
|
|
|
ch03s03.html ch03s04.html ch03s05.html ch03s06.html \
|
2005-07-19 16:00:54 +02:00
|
|
|
ch03s07.html ch03s08.html ch03s09.html ch04.html ch04s02.html \
|
|
|
|
ch04s03.html ch04s04.html ch04s05.html ch05.html ch06.html \
|
|
|
|
ch07.html ch08.html ch09.html ch10.html ch11.html ch12.html \
|
|
|
|
ch13.html ch14.html ch15.html ch16.html index.html javadoc \
|
|
|
|
manual.css pr01.html
|
2005-01-16 22:26:58 +01:00
|
|
|
.endif
|
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
|
|
|
|
|
2013-09-20 19:04:43 +02:00
|
|
|
NO_STAGE= yes
|
2005-01-16 22:26:58 +01:00
|
|
|
do-install:
|
|
|
|
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
|
2005-07-19 16:00:54 +02:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/lib/${DISTNAME}.jar ${JAVAJARDIR}/${PORTNAME}.jar
|
2005-01-16 22:26:58 +01:00
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}/..."
|
|
|
|
@cd ${WRKSRC}/doc/ \
|
|
|
|
&& ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
|
|
|
|
&& ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
|
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|