blob: eb7e73c2147d50eb264fa8f04b4ff9d7b9e115ee (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# ex:ts=8
# Ports collection makefile for: solfege
# Date created: Apr 10, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= solfege
PORTVERSION= 3.0.3
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMESUFFIX= -nosound
MAINTAINER= ports@FreeBSD.org
COMMENT= Free eartraining software
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
swig:${PORTSDIR}/devel/swig13
USE_X_PREFIX= yes
USE_GNOME= gnomehack gnomeprefix pygnomeextras
USE_PYTHON= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= M4=${LOCALBASE}/bin/gm4
CONFIGURE_ARGS= --disable-oss-sound
MAN1= lessonfile_editor.1 solfege.1
post-patch:
@${GREP} -lR "/usr/bin/python" ${WRKSRC} | ${XARGS} \
${REINPLACE_CMD} -e 's|/usr/bin/python|${SETENV} python|g'
.for file in lessonfile_editor.py.in run-solfege.py.in
@${REINPLACE_CMD} -e 's|share", "solfege|share", "gnome", "solfege|g' \
${WRKSRC}/${file}
.endfor
.for file in src/inputwidgets.py src/runtime.py
@${REINPLACE_CMD} -e 's|gnome.canvas|gnomecanvas|g' \
${WRKSRC}/${file}
.endfor
.for file in default.config
@${REINPLACE_CMD} -e 's|type=sequencer-device|type=fake-synth|g ; \
s|/usr/bin|${LOCALBASE}/bin|g' ${WRKSRC}/${file}
.endfor
.for file in po/Makefile
@${REINPLACE_CMD} -e 's|(datadir)/locale|(prefix)/share/locale|g' \
${WRKSRC}/${file}
.endfor
.include <bsd.port.mk>
|