diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-05-03 00:13:24 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-05-03 00:13:24 +0800 |
commit | 4026151e43355f5200e178b74b4d369d51952e28 (patch) | |
tree | 5060862bdd3c185451cb01be9cfa61456c4dd207 /audio/solfege/Makefile | |
parent | f4e062e2a7454e86bd1e5b0dd58815164c02a943 (diff) | |
download | marcuscom-ports-4026151e43355f5200e178b74b4d369d51952e28.tar.gz marcuscom-ports-4026151e43355f5200e178b74b4d369d51952e28.tar.zst marcuscom-ports-4026151e43355f5200e178b74b4d369d51952e28.zip |
share/gnome -> share
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8758 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio/solfege/Makefile')
-rw-r--r-- | audio/solfege/Makefile | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/audio/solfege/Makefile b/audio/solfege/Makefile new file mode 100644 index 000000000..6ed144b06 --- /dev/null +++ b/audio/solfege/Makefile @@ -0,0 +1,62 @@ +# ex:ts=8 +# Ports collection makefile for: solfege +# Date created: Apr 10, 2003 +# Whom: ijliao +# +# $FreeBSD$ +# $MCom$ + +PORTNAME= solfege +PORTVERSION= 3.7.0 +PORTREVISION= 2 +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +PKGNAMESUFFIX= -nosound + +MAINTAINER= ports@FreeBSD.org +COMMENT= Free eartraining software + +BUILD_DEPENDS= ${STYLESHEET}:${PORTSDIR}/textproc/docbook-xsl + +USE_GNOME= gnomehack gnomeprefix libxslt pygtk2 +WANT_GNOME= yes +USE_PYTHON= yes +USE_GETTEXT= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= ac_cv_path_XML2PO="" +CONFIGURE_ARGS= --mandir=${MANPREFIX}/man \ + --disable-oss-sound \ + --enable-docbook-stylesheet=${STYLESHEET} +MAKE_ARGS= skipmanual=yes + +MAN1= lessonfile_editor.1 solfege.1 + +STYLESHEET= ${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl + +.include <bsd.port.pre.mk> + +.if ${HAVE_GNOME:Mpygnomeextras}!="" +USE_GNOME+= pygnomeextras +.endif + +.if defined(PACKAGE_BUILDING) +BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT} \ + ${X11BASE}/lib/X11/fonts/misc/8x13O.pcf.gz:${X_FONTS_MISC_PORT} +.else +.if !defined(DISPLAY) || ${DISPLAY} == "" +IGNORE= requires an active X session (and DISPLAY variable). Please compile this while running X +.endif +.endif + +post-patch: + @${RM} ${WRKSRC}/lesson-files/bin/csound-play-harmonic-interval.sh.orig + @${GREP} -lR "/usr/bin/python" ${WRKSRC} | ${XARGS} \ + ${REINPLACE_CMD} -e 's|/usr/bin/python|${SETENV} python|g' + @${REINPLACE_CMD} -e 's|type=sequencer-device|type=fake-synth|g ; \ + s|/usr/bin|${LOCALBASE}/bin|g' ${WRKSRC}/default.config + @${REINPLACE_CMD} -e 's|(datadir)/locale|(prefix)/share/locale|g' \ + ${WRKSRC}/po/Makefile + +.include <bsd.port.post.mk> |