freebsd-ports/x11-toolkits/flowcanvas/Makefile
Mathieu Arnold 72ea7e696b Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:33:55 +00:00

50 lines
1.2 KiB
Makefile

# Created by: Edward Tomasz Napierala <trasz@FreeBSD.org>
# $FreeBSD$
PORTNAME= flowcanvas
PORTVERSION= 0.7.1
PORTREVISION= 5
CATEGORIES= x11-toolkits
MASTER_SITES= http://download.drobilla.net/
MAINTAINER= ports@FreeBSD.org
COMMENT= Interactive Gtkmm/Gnomecanvasmm widget
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \
libgvc.so:graphics/graphviz \
libgnomecanvasmm-2.6.so:graphics/libgnomecanvasmm26 \
libgtkmm-2.4.so:x11-toolkits/gtkmm24
USES= tar:bzip2 pkgconfig python:build
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} && ./waf ${WAF_VERBOSE} --prefix=${PREFIX} configure)
do-build:
@(cd ${WRKSRC} && ./waf ${WAF_VERBOSE} ${WAF_JOBS} build)
do-install:
@(cd ${WRKSRC} && ./waf ${WAF_VERBOSE} --destdir=${STAGEDIR} install)
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so
.include <bsd.port.post.mk>