blob: d6fa932f5f585abb7ab709f7f2bf53d7cb726d36 (
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
43
44
45
46
47
|
# New ports collection makefile for: tuxguitar
# Date created: 26 April 2007
# Whom: Pietro Cerutti (gahr@gahr.ch)
#
# $FreeBSD$
#
PORTNAME= tuxguitar
PORTVERSION= 0.9.1
PORTREVISION= 2
CATEGORIES= audio java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR=${PORTNAME}
DISTNAME= TuxGuitar-0.9.1-src
MAINTAINER= gahr@FreeBSD.org
COMMENT= A Multitrack tablature editor and player
BUILD_DEPENDS= ${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt \
${JAVALIBDIR}/itext.jar:${PORTSDIR}/devel/itext
RUN_DEPENDS= ${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt \
${JAVALIBDIR}/itext.jar:${PORTSDIR}/devel/itext
WRKSRC= ${WRKDIR}/TuxGuitar-0.9.1-src
USE_JAVA= yes
JAVA_VERSION= 1.5+
USE_ANT= yes
post-patch:
${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' \
${WRKSRC}/build.properties
do-install:
${INSTALL_DATA} ${WRKSRC}/TuxGuitar.jar ${JAVAJARDIR}
${INSTALL_SCRIPT} ${WRKSRC}/tuxguitar ${PREFIX}/bin
${MKDIR} ${DATADIR}
(cd ${WRKSRC}/share/ && ${COPYTREE_SHARE} \* ${DATADIR}/)
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif
.include <bsd.port.mk>
|