aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-11-10 04:49:38 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-11-10 04:49:38 +0800
commitf710ec75247fe541cdef02503cd828e16a196f1c (patch)
treefb925eb541843a9a86324fce32b28fa84b85719d
parent9b9df8a922b072c33125794d451ed54711f1daf4 (diff)
downloadfreebsd-ports-gnome-f710ec75247fe541cdef02503cd828e16a196f1c.tar.gz
freebsd-ports-gnome-f710ec75247fe541cdef02503cd828e16a196f1c.tar.zst
freebsd-ports-gnome-f710ec75247fe541cdef02503cd828e16a196f1c.zip
- Clarify LICENSE
- Add LICENSE_FILE - Add NO_ARCH - Switch to options helpers
-rw-r--r--audio/gervill/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/audio/gervill/Makefile b/audio/gervill/Makefile
index de3d7347fd79..79574a186a58 100644
--- a/audio/gervill/Makefile
+++ b/audio/gervill/Makefile
@@ -9,14 +9,14 @@ MASTER_SITES= SF/rasmusdsp/${PORTNAME}/Gervill%20${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Generic sound synthesizer for Java
-LICENSE= GPLv2
-
-OPTIONS_DEFINE= DOCS
+LICENSE= GPLv2 # only
+LICENSE_FILE= ${WRKSRC}/LICENSE
USES= zip
USE_JAVA= yes
JAVA_VERSION= 1.6+
USE_ANT= yes
+NO_ARCH= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
ALL_TARGET= jar
@@ -24,18 +24,16 @@ JARFILE= ${PORTNAME}.jar
PLIST_FILES= %%JAVAJARDIR%%/${JARFILE}
PORTDOCS= *
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
-.if ${PORT_OPTIONS:MDOCS}
-ALL_TARGET+= javadocs
-.endif
+DOCS_ALL_TARGET=javadocs
do-install:
${MKDIR} ${STAGEDIR}${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}
+
+do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
-.if ${PORT_OPTIONS:MDOCS}
cd ${WRKSRC}/javadocs && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>