2012-12-10 13:18:28 +00:00
|
|
|
# Created by: gahr
|
2009-04-06 19:55:09 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gervill
|
|
|
|
PORTVERSION= 1.0
|
|
|
|
CATEGORIES= audio java
|
2009-08-22 00:13:26 +00:00
|
|
|
MASTER_SITES= SF/rasmusdsp/${PORTNAME}/Gervill%20${PORTVERSION}
|
2009-04-06 19:55:09 +00:00
|
|
|
|
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
2014-01-30 08:46:51 +00:00
|
|
|
COMMENT= Generic sound synthesizer for Java
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
2009-04-06 19:55:09 +00:00
|
|
|
|
|
|
|
USE_ZIP= yes
|
|
|
|
USE_JAVA= yes
|
2012-12-10 13:18:28 +00:00
|
|
|
JAVA_VERSION= 1.6+
|
2009-04-06 19:55:09 +00:00
|
|
|
USE_ANT= yes
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
ALL_TARGET= jar
|
|
|
|
JARFILE= ${PORTNAME}.jar
|
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/${JARFILE}
|
|
|
|
PORTDOCS= *
|
|
|
|
|
2014-01-03 15:26:06 +00:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2009-04-06 19:55:09 +00:00
|
|
|
ALL_TARGET+= javadocs
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
2014-01-30 08:46:51 +00:00
|
|
|
${MKDIR} ${STAGEDIR}${JAVAJARDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2014-01-03 15:26:06 +00:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2014-01-30 08:46:51 +00:00
|
|
|
cd ${WRKSRC}/javadocs && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
|
2009-04-06 19:55:09 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|