1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/audio/solfege/Makefile
Pav Lucistnik fb73445881 - Update to 3.0.7
PR:		ports/94489
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2006-03-16 22:10:32 +00:00

49 lines
1.2 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: solfege
# Date created: Apr 10, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= solfege
PORTVERSION= 3.0.7
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 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>