mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
42 lines
805 B
Makefile
42 lines
805 B
Makefile
# Created by: gahr
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gervill
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= audio java
|
|
MASTER_SITES= SF/rasmusdsp/${PORTNAME}/Gervill%20${PORTVERSION}
|
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
|
COMMENT= Generic sound synthesizer for Java
|
|
|
|
LICENSE= GPLv2
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
USES= zip
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.6+
|
|
USE_ANT= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
ALL_TARGET= jar
|
|
JARFILE= ${PORTNAME}.jar
|
|
PLIST_FILES= %%JAVAJARDIR%%/${JARFILE}
|
|
PORTDOCS= *
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
ALL_TARGET+= javadocs
|
|
.endif
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${JAVAJARDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
cd ${WRKSRC}/javadocs && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|