2008-06-02 17:41:02 +02:00
|
|
|
# ex: ts=8
|
With TuxGuitar, you will be able to compose music using the following features
* Tablature editor
* Score Viewer
* Multitrack display
* Autoscroll while playing
* Note duration management
* Various effects (bend, slide, vibrato, hammer-on/pull-off)
* Support for triplets (5,6,7,9,10,11,12)
* Repeat open and close
* Time signature management
* Tempo management
* Imports and exports gp3,gp4 and gp5 files
WWW: http://www.tuxguitar.com.ar/
PR: ports/112169
Submitted by: Pietro Cerutti (gahr at gahr.ch)
2007-04-27 09:36:45 +02:00
|
|
|
# New ports collection makefile for: tuxguitar
|
|
|
|
# Date created: 26 April 2007
|
|
|
|
# Whom: Pietro Cerutti (gahr@gahr.ch)
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tuxguitar
|
2008-06-02 17:41:02 +02:00
|
|
|
DISTVERSION= 1.0-rc4
|
2008-06-19 20:52:42 +02:00
|
|
|
PORTREVISION= 3
|
With TuxGuitar, you will be able to compose music using the following features
* Tablature editor
* Score Viewer
* Multitrack display
* Autoscroll while playing
* Note duration management
* Various effects (bend, slide, vibrato, hammer-on/pull-off)
* Support for triplets (5,6,7,9,10,11,12)
* Repeat open and close
* Time signature management
* Tempo management
* Imports and exports gp3,gp4 and gp5 files
WWW: http://www.tuxguitar.com.ar/
PR: ports/112169
Submitted by: Pietro Cerutti (gahr at gahr.ch)
2007-04-27 09:36:45 +02:00
|
|
|
CATEGORIES= audio java
|
2008-03-13 01:16:17 +01:00
|
|
|
MASTER_SITES= SF
|
|
|
|
DISTNAME= ${PORTNAME}-src-${DISTVERSION}
|
With TuxGuitar, you will be able to compose music using the following features
* Tablature editor
* Score Viewer
* Multitrack display
* Autoscroll while playing
* Note duration management
* Various effects (bend, slide, vibrato, hammer-on/pull-off)
* Support for triplets (5,6,7,9,10,11,12)
* Repeat open and close
* Time signature management
* Tempo management
* Imports and exports gp3,gp4 and gp5 files
WWW: http://www.tuxguitar.com.ar/
PR: ports/112169
Submitted by: Pietro Cerutti (gahr at gahr.ch)
2007-04-27 09:36:45 +02:00
|
|
|
|
2008-02-21 22:20:01 +01:00
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
With TuxGuitar, you will be able to compose music using the following features
* Tablature editor
* Score Viewer
* Multitrack display
* Autoscroll while playing
* Note duration management
* Various effects (bend, slide, vibrato, hammer-on/pull-off)
* Support for triplets (5,6,7,9,10,11,12)
* Repeat open and close
* Time signature management
* Tempo management
* Imports and exports gp3,gp4 and gp5 files
WWW: http://www.tuxguitar.com.ar/
PR: ports/112169
Submitted by: Pietro Cerutti (gahr at gahr.ch)
2007-04-27 09:36:45 +02:00
|
|
|
COMMENT= A Multitrack tablature editor and player
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt \
|
2008-03-13 01:16:17 +01:00
|
|
|
${JAVALIBDIR}/itext.jar:${PORTSDIR}/devel/itext \
|
2008-06-02 17:41:02 +02:00
|
|
|
ant:${PORTSDIR}/devel/apache-ant \
|
|
|
|
gcj42:${PORTSDIR}/lang/gcc42-withgcjawt
|
2007-07-28 02:32:35 +02:00
|
|
|
RUN_DEPENDS= ${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt \
|
|
|
|
${JAVALIBDIR}/itext.jar:${PORTSDIR}/devel/itext
|
|
|
|
|
2008-06-02 17:41:02 +02:00
|
|
|
MAKE_ENV= "PREFIX=${PREFIX}" "INSTALL_DOC_DIR=${DOCSDIR}" \
|
|
|
|
"INSTALL_SHARE_DIR=${DATADIR}"
|
With TuxGuitar, you will be able to compose music using the following features
* Tablature editor
* Score Viewer
* Multitrack display
* Autoscroll while playing
* Note duration management
* Various effects (bend, slide, vibrato, hammer-on/pull-off)
* Support for triplets (5,6,7,9,10,11,12)
* Repeat open and close
* Time signature management
* Tempo management
* Imports and exports gp3,gp4 and gp5 files
WWW: http://www.tuxguitar.com.ar/
PR: ports/112169
Submitted by: Pietro Cerutti (gahr at gahr.ch)
2007-04-27 09:36:45 +02:00
|
|
|
|
|
|
|
USE_JAVA= yes
|
2008-03-13 01:16:17 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
JAVA_VERSION= 1.4+
|
2008-06-20 11:35:43 +02:00
|
|
|
JAVA_VENDOR= bsdjava sun blackdown
|
2008-03-13 01:16:17 +01:00
|
|
|
|
|
|
|
.if !defined(WITHOUT_MAN)
|
|
|
|
MAN1= tuxguitar.1
|
|
|
|
.endif
|
|
|
|
|
|
|
|
USE_GECKO= mozilla firefox seamonkey
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
|
|
|
|
|
2008-06-02 17:41:02 +02:00
|
|
|
PLUGINS= ascii compat converter gtp jsa lilypond midi musicxml \
|
|
|
|
oss pdf ptb tef tray
|
2008-03-13 01:16:17 +01:00
|
|
|
|
|
|
|
SUB_FILES= tuxguitar
|
|
|
|
SUB_LIST= DATADIR=${DATADIR} \
|
|
|
|
PREFIX=${PREFIX} \
|
|
|
|
JAVALIBDIR=${JAVALIBDIR} \
|
|
|
|
GECKO=${GECKO}
|
With TuxGuitar, you will be able to compose music using the following features
* Tablature editor
* Score Viewer
* Multitrack display
* Autoscroll while playing
* Note duration management
* Various effects (bend, slide, vibrato, hammer-on/pull-off)
* Support for triplets (5,6,7,9,10,11,12)
* Repeat open and close
* Time signature management
* Tempo management
* Imports and exports gp3,gp4 and gp5 files
WWW: http://www.tuxguitar.com.ar/
PR: ports/112169
Submitted by: Pietro Cerutti (gahr at gahr.ch)
2007-04-27 09:36:45 +02:00
|
|
|
|
2007-04-27 10:56:25 +02:00
|
|
|
post-patch:
|
2008-06-02 17:41:02 +02:00
|
|
|
${REINPLACE_CMD} -e 's|linux|freebsd|;s|JAVA_VERS|JAVA_PORT_VERSION|g; \
|
|
|
|
/TuxGuitar-alsa/d' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
${REINPLACE_CMD} -e \
|
|
|
|
's|%%LOCALBASE%%|${LOCALBASE}|g; \
|
|
|
|
s|%%JAVAJARDIR%%|${JAVAJARDIR}|g; \
|
|
|
|
s|%%PREFIX%%|${PREFIX}|g; \
|
|
|
|
s|%%DATADIR%%|${DATADIR}|g; \
|
|
|
|
s|%%DISTVERSION%%|${DISTVERSION}|g; \
|
|
|
|
s|%%DOCSDIR%%|${DOCSDIR}|g' \
|
|
|
|
${WRKSRC}/TuxGuitar/build.properties
|
|
|
|
${REINPLACE_CMD} -e 's|$${path.swt}|${JAVALIBDIR}/swt.jar|g' \
|
|
|
|
${WRKSRC}/TuxGuitar-lilypond/build.xml \
|
|
|
|
${WRKSRC}/TuxGuitar-midi/build.xml \
|
|
|
|
${WRKSRC}/TuxGuitar-pdf/build.xml \
|
|
|
|
${WRKSRC}/TuxGuitar-tray/build.xml \
|
|
|
|
${WRKSRC}/TuxGuitar-converter/build.xml \
|
|
|
|
${WRKSRC}/TuxGuitar-jsa/build.xml \
|
|
|
|
${WRKSRC}/TuxGuitar-oss/build.xml
|
|
|
|
${REINPLACE_CMD} -e 's|$${lib.swt.jar}|${JAVALIBDIR}/swt.jar|g' \
|
|
|
|
${WRKSRC}/TuxGuitar/build.xml
|
|
|
|
${REINPLACE_CMD} -e 's|$${path.itext}|${JAVALIBDIR}/itext.jar|g' \
|
|
|
|
${WRKSRC}/TuxGuitar-pdf/build.xml
|
|
|
|
${REINPLACE_CMD} -e 's|gcj|${LOCALBASE}/bin/gcj42|g' \
|
|
|
|
${WRKSRC}/TuxGuitar-oss/jni/GNUmakefile
|
2007-04-27 10:56:25 +02:00
|
|
|
|
With TuxGuitar, you will be able to compose music using the following features
* Tablature editor
* Score Viewer
* Multitrack display
* Autoscroll while playing
* Note duration management
* Various effects (bend, slide, vibrato, hammer-on/pull-off)
* Support for triplets (5,6,7,9,10,11,12)
* Repeat open and close
* Time signature management
* Tempo management
* Imports and exports gp3,gp4 and gp5 files
WWW: http://www.tuxguitar.com.ar/
PR: ports/112169
Submitted by: Pietro Cerutti (gahr at gahr.ch)
2007-04-27 09:36:45 +02:00
|
|
|
do-install:
|
2008-06-02 17:41:02 +02:00
|
|
|
${INSTALL} -d ${DATADIR}
|
|
|
|
${INSTALL} -d ${DATADIR}/plugins
|
2008-03-13 01:16:17 +01:00
|
|
|
# Main program and plugins
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/tuxguitar ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/TuxGuitar/tuxguitar.jar ${DATADIR}/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/misc/*.tg ${DATADIR}
|
2008-06-02 17:41:02 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/TuxGuitar-oss/jni/libtuxguitar-oss-jni.so ${PREFIX}/lib
|
2008-03-13 01:16:17 +01:00
|
|
|
.for p in ${PLUGINS}
|
2008-06-02 17:41:02 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/TuxGuitar-${p}/tuxguitar-${p}.jar ${DATADIR}/plugins
|
2008-03-13 01:16:17 +01:00
|
|
|
.endfor
|
|
|
|
# Inline documentation
|
|
|
|
cd ${WRKSRC}/TuxGuitar/share/help && ${COPYTREE_SHARE} \* ${DATADIR}/help
|
|
|
|
cd ${WRKSRC}/TuxGuitar/share/lang && ${COPYTREE_SHARE} \* ${DATADIR}/lang
|
|
|
|
cd ${WRKSRC}/TuxGuitar/share/scales && ${COPYTREE_SHARE} \* ${DATADIR}/scales
|
|
|
|
cd ${WRKSRC}/TuxGuitar/share/skins && ${COPYTREE_SHARE} \* ${DATADIR}/skins
|
|
|
|
|
|
|
|
# XPM icon
|
2008-06-02 17:41:02 +02:00
|
|
|
${INSTALL} -d ${PREFIX}/share/pixmaps
|
2008-03-13 01:16:17 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/misc/tuxguitar.xpm ${PREFIX}/share/pixmaps
|
|
|
|
|
2008-06-02 17:41:02 +02:00
|
|
|
# Desktop entry
|
|
|
|
${INSTALL} -d ${PREFIX}/share/applications
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/misc/tuxguitar.desktop ${PREFIX}/share/applications
|
|
|
|
|
2008-03-13 01:16:17 +01:00
|
|
|
.if !defined(WITHOUT_MAN)
|
2008-06-02 17:41:02 +02:00
|
|
|
# MAN page
|
2008-03-13 18:15:47 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/misc/tuxguitar.1 ${MANPREFIX}/man/man1
|
2008-03-13 01:16:17 +01:00
|
|
|
.endif
|
With TuxGuitar, you will be able to compose music using the following features
* Tablature editor
* Score Viewer
* Multitrack display
* Autoscroll while playing
* Note duration management
* Various effects (bend, slide, vibrato, hammer-on/pull-off)
* Support for triplets (5,6,7,9,10,11,12)
* Repeat open and close
* Time signature management
* Tempo management
* Imports and exports gp3,gp4 and gp5 files
WWW: http://www.tuxguitar.com.ar/
PR: ports/112169
Submitted by: Pietro Cerutti (gahr at gahr.ch)
2007-04-27 09:36:45 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
2008-03-13 01:16:17 +01:00
|
|
|
cd ${WRKSRC}/TuxGuitar/doc && ${COPYTREE_SHARE} \* ${DOCSDIR}
|
With TuxGuitar, you will be able to compose music using the following features
* Tablature editor
* Score Viewer
* Multitrack display
* Autoscroll while playing
* Note duration management
* Various effects (bend, slide, vibrato, hammer-on/pull-off)
* Support for triplets (5,6,7,9,10,11,12)
* Repeat open and close
* Time signature management
* Tempo management
* Imports and exports gp3,gp4 and gp5 files
WWW: http://www.tuxguitar.com.ar/
PR: ports/112169
Submitted by: Pietro Cerutti (gahr at gahr.ch)
2007-04-27 09:36:45 +02:00
|
|
|
.endif
|
|
|
|
|
2008-03-13 01:16:17 +01:00
|
|
|
.include <bsd.port.post.mk>
|