mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
2f6fb4ef8c
- Support PREFIX properly - Fix configure error under XFree86 4.x PR: 23621 Submitted by: Ports Furry No response from: maintainer
37 lines
947 B
Makefile
37 lines
947 B
Makefile
# New ports collection makefile for: rosegarden
|
|
# Date created: 04 Aug 1996
|
|
# Whom: shanee@augusta.de
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= rosegarden
|
|
PORTVERSION= 2.1.2
|
|
CATEGORIES= audio
|
|
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
|
|
|
|
USE_X_PREFIX= yes
|
|
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:
|
|
@( \
|
|
cd ${WRKSRC} ; ${SETENV} PREFIX="${PREFIX}" ./do-install \
|
|
)
|
|
${INSTALL_SCRIPT} ${WRKSRC}/rosegarden.sh ${PREFIX}/bin/rosegarden
|
|
|
|
.include <bsd.port.mk>
|