aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-01-17 02:40:58 +0800
committerantoine <antoine@FreeBSD.org>2014-01-17 02:40:58 +0800
commit200d621411841850b022ff0c51530b34d102f0e7 (patch)
tree1f68978238743c0dc16b94f2b18f07b62fca2a9e /audio
parent4193364027b3f61f8acd6a9007177770f7b0a40a (diff)
downloadfreebsd-ports-gnome-200d621411841850b022ff0c51530b34d102f0e7.tar.gz
freebsd-ports-gnome-200d621411841850b022ff0c51530b34d102f0e7.tar.zst
freebsd-ports-gnome-200d621411841850b022ff0c51530b34d102f0e7.zip
Stage support
Diffstat (limited to 'audio')
-rw-r--r--audio/jmusic/Makefile19
1 files changed, 7 insertions, 12 deletions
diff --git a/audio/jmusic/Makefile b/audio/jmusic/Makefile
index c3004e6d3bb4..083739794594 100644
--- a/audio/jmusic/Makefile
+++ b/audio/jmusic/Makefile
@@ -18,25 +18,20 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Composition in Java
USE_JAVA= yes
-NO_STAGE= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
NO_WRKSUBDIR= yes
PORTDOCS= *
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
do-install:
- ${MKDIR} ${JAVAJARDIR}/${PORTNAME}
- @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/jMusic${PORTVERSION}.jar \
- ${JAVAJARDIR}/${PORTNAME}/${PORTNAME}.jar
- @(cd ${WRKSRC} && ${COPYTREE_SHARE} inst ${JAVAJARDIR}/${PORTNAME})
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- @(cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${DOCSDIR})
-.endif
+ @${MKDIR} ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/jMusic${PORTVERSION}.jar \
+ ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}/${PORTNAME}.jar
+ cd ${WRKSRC} && ${COPYTREE_SHARE} inst ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>