aboutsummaryrefslogtreecommitdiffstats
path: root/audio/patchage/Makefile
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2011-08-12 14:44:50 +0800
committerehaupt <ehaupt@FreeBSD.org>2011-08-12 14:44:50 +0800
commit61232ace19fa3379e2f61feeeddabb1ef6ee3b95 (patch)
tree85b1542c2e9c76fecf1769eea7656158a1a0f425 /audio/patchage/Makefile
parente3fa0d867fb16a52d29bed12b0d988ff7e493d18 (diff)
downloadfreebsd-ports-gnome-61232ace19fa3379e2f61feeeddabb1ef6ee3b95.tar.gz
freebsd-ports-gnome-61232ace19fa3379e2f61feeeddabb1ef6ee3b95.tar.zst
freebsd-ports-gnome-61232ace19fa3379e2f61feeeddabb1ef6ee3b95.zip
Update to 0.5.0
PR: 159426 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'audio/patchage/Makefile')
-rw-r--r--audio/patchage/Makefile51
1 files changed, 40 insertions, 11 deletions
diff --git a/audio/patchage/Makefile b/audio/patchage/Makefile
index 908a234e45e7..ff54e86bb35d 100644
--- a/audio/patchage/Makefile
+++ b/audio/patchage/Makefile
@@ -6,29 +6,58 @@
#
PORTNAME= patchage
-PORTVERSION= 0.4.2
-PORTREVISION= 3
+PORTVERSION= 0.5.0
CATEGORIES= audio
-MASTER_SITES= http://download.drobilla.net/
+MASTER_SITES= http://download.drobilla.net/ \
+ http://frugalware.mirrors.tds.net/pub/linux/frugalware/frugalware-current/source/xmultimedia-extra/patchage/
MAINTAINER= ports@FreeBSD.org
COMMENT= Modular patch bay for Jack
-LIB_DEPENDS= boost_date_time.4:${PORTSDIR}/devel/boost-libs \
+LICENSE= GPLv2 GPLv3
+LICENSE_COMB= dual
+
+LIB_DEPENDS= jack.0:${PORTSDIR}/audio/jack \
+ raul.10:${PORTSDIR}/audio/raul \
+ boost_date_time.4:${PORTSDIR}/devel/boost-libs \
+ dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
glibmm-2.4.1:${PORTSDIR}/devel/glibmm \
glademm-2.4:${PORTSDIR}/devel/libglademm24 \
- raul.2:${PORTSDIR}/audio/raul \
- flowcanvas.2:${PORTSDIR}/x11-toolkits/flowcanvas
+ flowcanvas.5:${PORTSDIR}/x11-toolkits/flowcanvas
-GNU_CONFIGURE= yes
-USE_GMAKE= yes
-CONFIGURE_ENV= "CXXFLAGS=${CFLAGS} -I${LOCALBASE}/include"
+USE_BZIP2= yes
+USE_PYTHON_BUILD=yes
INSTALLS_ICONS= yes
+MAKE_JOBS_SAFE= yes
+
+MAN1= patchage.1
+
+CFLAGS+= -I${LOCALBASE}/include
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 900027
-BROKEN= does not build on 9.X after log2 addition
+.if defined(BATCH) || defined(PACKAGE_BUILDING)
+WAF_VERBOSE= --verbose
+.endif
+
+.if defined(MAKE_JOBS_NUMBER)
+WAF_JOBS= --jobs=${MAKE_JOBS_NUMBER}
.endif
+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} && ./waf ${WAF_VERBOSE} ${WAF_JOBS} build)
+
+do-install:
+ @(cd ${WRKSRC} && ./waf ${WAF_VERBOSE} install)
+
.include <bsd.port.post.mk>