aboutsummaryrefslogtreecommitdiff
path: root/audio/rosegarden/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-12-19 08:34:53 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-12-19 08:34:53 +0000
commit2f6fb4ef8c89c9f19a9bf14f1ad246ba56e157b2 (patch)
treebb5c6aa8636eda71a57d5817384c5f4b90ec7e0d /audio/rosegarden/Makefile
parent79774bd82d6da5991de3512bea92b346e87559bf (diff)
downloadports-2f6fb4ef8c89c9f19a9bf14f1ad246ba56e157b2.tar.gz
ports-2f6fb4ef8c89c9f19a9bf14f1ad246ba56e157b2.zip
Notes
Diffstat (limited to 'audio/rosegarden/Makefile')
-rw-r--r--audio/rosegarden/Makefile26
1 files changed, 13 insertions, 13 deletions
diff --git a/audio/rosegarden/Makefile b/audio/rosegarden/Makefile
index c2ca10f7a3f3..68f79ce11ed7 100644
--- a/audio/rosegarden/Makefile
+++ b/audio/rosegarden/Makefile
@@ -8,29 +8,29 @@
PORTNAME= rosegarden
PORTVERSION= 2.1.2
CATEGORIES= audio
-MASTER_SITES= http://www.all-day-breakfast.com/rosegarden/patches/
+MASTER_SITES= http://www.cannam.demon.co.uk/rosegarden/distribution/
DISTNAME= ${PORTNAME}-2.1pl2
MAINTAINER= shanee@augusta.de
-BUILD_DEPENDS= ${LOCALBASE}/lib/tclmidi/tclmidi31.so:$(PORTSDIR)/audio/tclmidi
-RUN_DEPENDS= ${LOCALBASE}/lib/tclmidi/tclmidi31.so:$(PORTSDIR)/audio/tclmidi
+BUILD_DEPENDS= ${LOCALBASE}/lib/tclmidi/tclmidi31.so:${PORTSDIR}/audio/tclmidi
+RUN_DEPENDS= ${LOCALBASE}/lib/tclmidi/tclmidi31.so:${PORTSDIR}/audio/tclmidi
-GNU_CONFIGURE= yes
-USE_AUTOCONF= yes
USE_X_PREFIX= yes
-CONFIGURE_ARGS= --with-tclincl=${LOCALBASE}/include/tcl8.2/
-CONFIGURE_ENV= LIBS="-L${PREFIX}/lib"
+USE_AUTOCONF= yes
+CONFIGURE_ENV= MAKEDEPEND=${TRUE}
+CONFIGURE_ARGS= --with-tclincl=${LOCALBASE}/include/tcl8.2
+
+post-patch:
+ @${CP} ${FILESDIR}/rosegarden ${WRKSRC}/rosegarden.sh
+.for file in Rosegarden rosegarden.sh
+ @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file}
+.endfor
do-install:
- @${MKDIR} ${PREFIX}/lib/X11/app-defaults
@( \
cd ${WRKSRC} ; ${SETENV} PREFIX="${PREFIX}" ./do-install \
)
-
-post-install:
- ${MV} ${PREFIX}/bin/rosegarden ${PREFIX}/bin/rosegarden-bin
- ${SED} s-%%PREFIX%%-${PREFIX}-g ${FILESDIR}/rosegarden >${WRKDIR}/rosegarden
- ${INSTALL_SCRIPT} ${WRKDIR}/rosegarden ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/rosegarden.sh ${PREFIX}/bin/rosegarden
.include <bsd.port.mk>