aboutsummaryrefslogtreecommitdiff
path: root/audio/patchage
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-04-08 15:05:48 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-04-08 15:05:48 +0000
commit8157e9f8001110ec707b895aa362d7abc4f5c948 (patch)
tree81627af7b0f0c701d807cb8a4046a4740517b9f9 /audio/patchage
parent671d1d9bd194a574d3933765d1cc084536ad8e91 (diff)
downloadports-8157e9f8001110ec707b895aa362d7abc4f5c948.tar.gz
ports-8157e9f8001110ec707b895aa362d7abc4f5c948.zip
Notes
Diffstat (limited to 'audio/patchage')
-rw-r--r--audio/patchage/Makefile25
1 files changed, 7 insertions, 18 deletions
diff --git a/audio/patchage/Makefile b/audio/patchage/Makefile
index 53ebd8aeb102..f7a4161460ed 100644
--- a/audio/patchage/Makefile
+++ b/audio/patchage/Makefile
@@ -22,36 +22,25 @@ LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack \
libglademm-2.4.so:${PORTSDIR}/devel/libglademm24 \
libflowcanvas.so:${PORTSDIR}/x11-toolkits/flowcanvas
-USES= pkgconfig python:build tar:bzip2
+USES= pkgconfig tar:bzip2 waf
INSTALLS_ICONS= yes
+CONFIGURE_ARGS+= --mandir=${MANPREFIX}/man \
+ --no-alsa \
+ --no-lash
CFLAGS+= -I${LOCALBASE}/include
-.include <bsd.port.pre.mk>
-
.if defined(BATCH) || defined(PACKAGE_BUILDING)
-WAF_VERBOSE= --verbose
+MAKE_ARGS= --verbose
.endif
-WAF_JOBS= --jobs=${MAKE_JOBS_NUMBER}
-
post-patch:
@${REINPLACE_CMD} -e \
"s|$$[{]LIBDIRNAME[}]/pkgconfig|libdata/pkgconfig| ; \
s|-fshow-column'|-fshow-column ${CXXFLAGS}'|" \
${WRKSRC}/autowaf/autowaf.py
-do-configure:
- (cd ${WRKSRC} && ./waf ${WAF_VERBOSE} --prefix=${PREFIX} \
- --mandir=${MANPREFIX}/man --no-alsa --no-lash configure)
-
-do-build:
- (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
- ./waf ${WAF_VERBOSE} ${WAF_JOBS} build)
-
-do-install:
- (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
- ./waf ${WAF_VERBOSE} --destdir=${STAGEDIR} install)
+post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>