summaryrefslogtreecommitdiff
path: root/audio/solfege/Makefile
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2007-06-20 18:45:38 +0000
committerschmonz <schmonz@pkgsrc.org>2007-06-20 18:45:38 +0000
commite1c0ffc6632356b7ebd93cefd6c0567a6edc3cbc (patch)
treeae5d8cbeac45f49b96137453548755667d9ed8f0 /audio/solfege/Makefile
parentfd8e4944eefb0ad96d63bebd84783e498c61985f (diff)
downloadpkgsrc-e1c0ffc6632356b7ebd93cefd6c0567a6edc3cbc.tar.gz
PLIST-related fixes:
* Avoid building OSS support (this could be an option if anyone really cares) * compile all .py into .pyc at install time (from joerg) This doesn't address the PR about PKGLOCALEDIR on e.g. Solaris, but in the meantime it should fix other bulk builds. Bump PKGREVISION.
Diffstat (limited to 'audio/solfege/Makefile')
-rw-r--r--audio/solfege/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/audio/solfege/Makefile b/audio/solfege/Makefile
index c48c26db2de..6e66ea4e6d1 100644
--- a/audio/solfege/Makefile
+++ b/audio/solfege/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2007/05/13 13:02:42 schmonz Exp $
+# $NetBSD: Makefile,v 1.13 2007/06/20 18:45:38 schmonz Exp $
#
DISTNAME= solfege-3.8.0
+PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=solfege/}
@@ -16,6 +17,7 @@ USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+CONFIGURE_ARGS+= --disable-oss-sound
CONFIGURE_ARGS+= --disable-pygtk-test
CONFIGURE_ARGS+= --enable-docbook-stylesheet=${LOCALBASE}/share/xsl/docbook/html/chunk.xsl
@@ -23,6 +25,7 @@ USE_TOOLS+= gmake gm4 makeinfo pkg-config msgfmt
PYTHON_VERSIONS_ACCEPTED= 24 23
PYTHON_PATCH_SCRIPTS= *.py *.py.in */*.py */*.py.in
+PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py
SUBST_CLASSES+= sound
SUBST_STAGE.sound= do-configure
@@ -48,6 +51,11 @@ MIDIPLAYER= ${LOCALBASE}/bin/qtplay
DEPENDS+= qtplay-[0-9]*:../../audio/qtplay
.endif
+post-install:
+ ${PYTHONBIN} ${PYCOMPILEALL} ${PREFIX}/share/solfege/mpd \
+ ${PREFIX}/share/solfege/soundcard \
+ ${PREFIX}/share/solfege/src
+
.include "../../lang/python/application.mk"
.include "../../textproc/gnome-doc-utils/buildlink3.mk"
.include "../../x11/py-gtk2/buildlink3.mk"