1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/audio/raul/Makefile
Pawel Pekala 7b72bf31e0 - Add staging support
- Convert USES=tar:bzip2
2014-04-08 08:29:52 +00:00

50 lines
1.1 KiB
Makefile

# Created by: Edward Tomasz Napierala <trasz@FreeBSD.org>
# $FreeBSD$
PORTNAME= raul
PORTVERSION= 0.8.0
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= http://download.drobilla.net/
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ utility library primarily aimed at audio/musical applications
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
LIB_DEPENDS= libboost_date_time.so:${PORTSDIR}/devel/boost-libs
USES= pkgconfig tar:bzip2
USE_GNOME= glib20
USE_PYTHON_BUILD=yes
USE_LDCONFIG= yes
CFLAGS+= -I${LOCALBASE}/include
.include <bsd.port.pre.mk>
.if defined(BATCH) || defined(PACKAGE_BUILDING)
WAF_VERBOSE= --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} && ${PYTHON_CMD} waf ${WAF_VERBOSE} --prefix=${PREFIX} configure)
do-build:
@(cd ${WRKSRC} && ${PYTHON_CMD} waf ${WAF_VERBOSE} ${WAF_JOBS} build)
do-install:
@(cd ${WRKSRC} && ${PYTHON_CMD} waf ${WAF_VERBOSE} \
--destdir=${STAGEDIR} install)
.include <bsd.port.post.mk>