1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/audio/patchage/Makefile
Baptiste Daroussin 8157e9f800 Add a new USES=waf to handle the waf building system, allowing to factorise code
Plug waf into MAKE_CMD and CONFIGURE_CMD so the regular defined targets can be
reused

Always define _MAKE_JOBS so that when bsd.port.mk will stop overwritting
_MAKE_JOBS when parallel jobs are disabled we can enforce -j1 (which is needed
to really disable parallelisation with waf

WAF_CMD has been created to allow one to override the location of the waf script
relatively to WRKSRC

CONFIGURE_TARGET is by default defined to "configure"
ALL_TARGET is by default defined to "build"
INSTALL_TARGET is by default defined to "install"

USES=waf is by default stagedir safe
2015-04-08 15:05:48 +00:00

47 lines
1.2 KiB
Makefile

# Created by: Edward Tomasz Napierala <trasz@FreeBSD.org>
# $FreeBSD$
PORTNAME= patchage
PORTVERSION= 0.5.0
PORTREVISION= 4
CATEGORIES= audio
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
LICENSE= GPLv2 # or later
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack \
libraul.so:${PORTSDIR}/audio/raul \
libboost_date_time.so:${PORTSDIR}/devel/boost-libs \
libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
libglibmm-2.4.so:${PORTSDIR}/devel/glibmm \
libglademm-2.4.so:${PORTSDIR}/devel/libglademm24 \
libflowcanvas.so:${PORTSDIR}/x11-toolkits/flowcanvas
USES= pkgconfig tar:bzip2 waf
INSTALLS_ICONS= yes
CONFIGURE_ARGS+= --mandir=${MANPREFIX}/man \
--no-alsa \
--no-lash
CFLAGS+= -I${LOCALBASE}/include
.if defined(BATCH) || defined(PACKAGE_BUILDING)
MAKE_ARGS= --verbose
.endif
post-patch:
@${REINPLACE_CMD} -e \
"s|$$[{]LIBDIRNAME[}]/pkgconfig|libdata/pkgconfig| ; \
s|-fshow-column'|-fshow-column ${CXXFLAGS}'|" \
${WRKSRC}/autowaf/autowaf.py
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>