mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
eeb8b94d40
- Switch to options helpers
32 lines
625 B
Makefile
32 lines
625 B
Makefile
# Created by: Herve Quiroz <hq@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= jsap
|
|
DISTVERSION= 2.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel java
|
|
MASTER_SITES= SF
|
|
DISTNAME= ${PORTNAME:tu}-${DISTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Java package to parse command-line arguments
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.6+
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/lib/${DISTNAME}.jar \
|
|
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
|
|
|
|
do-install-DOCS-on:
|
|
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|