aboutsummaryrefslogtreecommitdiff
path: root/audio/tuxguitar
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-07-24 12:30:56 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-07-24 12:30:56 +0000
commit69e11c18897b2435241e835b7224afcdcb167f81 (patch)
treec44ea9aab67d8999770d053a883d49772353ae75 /audio/tuxguitar
parent4f374c4364e36f34e75a54aac7dfacc6f22736a5 (diff)
downloadports-69e11c18897b2435241e835b7224afcdcb167f81.tar.gz
ports-69e11c18897b2435241e835b7224afcdcb167f81.zip
Notes
Diffstat (limited to 'audio/tuxguitar')
-rw-r--r--audio/tuxguitar/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/audio/tuxguitar/Makefile b/audio/tuxguitar/Makefile
index 771c8a9ee4fd..f59dfd7a7e96 100644
--- a/audio/tuxguitar/Makefile
+++ b/audio/tuxguitar/Makefile
@@ -61,7 +61,8 @@ post-patch:
${FIND} ${WRKSRC}/.. -name GNUmakefile | ${XARGS} ${REINPLACE_CMD} -e '\
s|-I$$(shell gcj -print-file-name=include/)|-I${JAVA_HOME}/include \
-I${JAVA_HOME}/include/freebsd -I${LOCALBASE}/include|; \
- s|LDFLAGS\?=.*|LDFLAGS?=-L${LOCALBASE}/lib|'
+ s|LDFLAGS\?=.*|LDFLAGS+=-L${LOCALBASE}/lib|; \
+ s|CFLAGS\?=|CFLAGS+=|'
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g; \
s|%%PREFIX%%|${PREFIX}|g; \
s|%%JAVAJARDIR%%|${JAVAJARDIR}|g; \
@@ -87,8 +88,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/tuxguitar.jar ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/../misc/*.tg ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKDIR}/8MBGMSFX.SF2 ${STAGEDIR}${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/../TuxGuitar-oss/jni/libtuxguitar-oss-jni.so ${STAGEDIR}${PREFIX}/lib
- ${INSTALL_DATA} ${WRKSRC}/../TuxGuitar-fluidsynth/jni/libtuxguitar-fluidsynth-jni.so ${STAGEDIR}${PREFIX}/lib
+ ${INSTALL_PROGRAM} ${WRKSRC}/../TuxGuitar-oss/jni/libtuxguitar-oss-jni.so ${STAGEDIR}${PREFIX}/lib
+ ${INSTALL_PROGRAM} ${WRKSRC}/../TuxGuitar-fluidsynth/jni/libtuxguitar-fluidsynth-jni.so ${STAGEDIR}${PREFIX}/lib
.for p in ${PLUGINS}
${INSTALL_DATA} ${WRKSRC}/../TuxGuitar-${p}/tuxguitar-${p}.jar ${STAGEDIR}${DATADIR}/plugins
.endfor