From f710ec75247fe541cdef02503cd828e16a196f1c Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Mon, 9 Nov 2015 20:49:38 +0000 Subject: - Clarify LICENSE - Add LICENSE_FILE - Add NO_ARCH - Switch to options helpers --- audio/gervill/Makefile | 16 +++++++--------- 1 file 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 +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 -- cgit