mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
7f4572eae4
With hat: portmgr Sponsored by: Absolight
50 lines
1.4 KiB
Makefile
50 lines
1.4 KiB
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
# $MCom: ports/audio/solfege/Makefile,v 1.7 2007/09/09 23:47:50 mezz Exp $
|
|
|
|
PORTNAME= solfege
|
|
PORTVERSION= 3.22.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= audio
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-stable/${PORTVERSION}
|
|
PKGNAMESUFFIX= -nosound
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Free ear training software
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl \
|
|
txt2man:textproc/txt2man
|
|
|
|
USES= gettext gmake makeinfo pathfix pkgconfig python shebangfix
|
|
SHEBANG_FILES= exercises/standard/lesson-files/bin/csound-play-harmonic-interval.sh
|
|
USE_GNOME= pygtk2
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= ac_cv_path_XML2PO=""
|
|
CONFIGURE_ARGS= --disable-oss-sound \
|
|
--enable-docbook-stylesheet=${STYLESHEET}
|
|
MAKE_ARGS= nopycompile=YES skipmanual=yes
|
|
NO_ARCH= yes
|
|
|
|
# Restrict to stable (even) versions, indicated by the second component.
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
STYLESHEET= ${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|cp --parents|${PAX} -rw|' ${WRKSRC}/Makefile.in
|
|
@${REINPLACE_CMD} -e \
|
|
's|type=sequencer-device|type=fake-synth| ; \
|
|
s|/usr/bin|${LOCALBASE}/bin|' ${WRKSRC}/default.config
|
|
@${FIND} ${WRKSRC} -name "*.py" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|.*\(#!\).*|\1${PYTHON_CMD}|'
|
|
|
|
post-install:
|
|
@(cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -m compileall \
|
|
-d ${PREFIX} -f ${DATADIR_REL})
|
|
|
|
.include <bsd.port.mk>
|