aboutsummaryrefslogtreecommitdiffstats
path: root/audio/rosegarden/Makefile
blob: 3622c7ee73f9c9bcb7f06b4b0caa8d3922511be7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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= ports@FreeBSD.org
COMMENT=    The Rosegarden Editor and Sequencer suite

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_AUTOTOOLS=  autoconf:213
CONFIGURE_ARGS= --with-tclincl=${LOCALBASE}/include/tcl8.2

post-patch:
    @${CP} ${FILESDIR}/rosegarden ${WRKSRC}/rosegarden.sh
.for file in Rosegarden rosegarden.sh
    @${REINPLACE_CMD} -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>