aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gervill/Makefile
blob: 2468d078665a39bcb063f01d8c976ec635621ab4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Created by: gahr
# $FreeBSD$

PORTNAME=   gervill
PORTVERSION=    1.0
CATEGORIES= audio java
MASTER_SITES=   SF/rasmusdsp/${PORTNAME}/Gervill%20${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Generic sound synthesizer for Java

LICENSE=    GPLv2 # only
LICENSE_FILE=   ${WRKSRC}/LICENSE

BROKEN_armv6=       fails to package: find: *: No such file or directory
BROKEN_armv7=       fails to package: find: *: No such file or directory

USES=       zip
USE_JAVA=   yes
JAVA_VERSION=   1.6+
USE_ANT=    yes
NO_ARCH=    yes

WRKSRC=     ${WRKDIR}/${PORTNAME}
ALL_TARGET= jar
JARFILE=    ${PORTNAME}.jar
PLIST_FILES=    %%JAVAJARDIR%%/${JARFILE}
PORTDOCS=   *

OPTIONS_DEFINE= DOCS

DOCS_ALL_TARGET=javadocs

do-install:
    ${MKDIR} ${STAGEDIR}${JAVAJARDIR}
    ${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}

do-install-DOCS-on:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC}/javadocs && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>