diff options
Diffstat (limited to 'audio/rosegarden/Makefile')
-rw-r--r-- | audio/rosegarden/Makefile | 26 |
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> |