1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/x11-toolkits/flowcanvas/Makefile
2012-06-01 05:26:28 +00:00

58 lines
1.3 KiB
Makefile

# New ports collection makefile for: flowcanvas
# Date created: 2008-07-22
# Whom: Edward Tomasz Napierala <trasz@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= flowcanvas
PORTVERSION= 0.7.1
PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= http://download.drobilla.net/
MAINTAINER= ports@FreeBSD.org
COMMENT= An interactive Gtkmm/Gnomecanvasmm widget
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
LIB_DEPENDS= boost_date_time.4:${PORTSDIR}/devel/boost-libs \
gvc.6:${PORTSDIR}/graphics/graphviz \
gnomecanvasmm-2.6:${PORTSDIR}/graphics/libgnomecanvasmm26 \
gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24
USE_BZIP2= yes
USE_PYTHON_BUILD=yes
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
CFLAGS+= -I${LOCALBASE}/include
.include <bsd.port.pre.mk>
.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} configure)
do-build:
@(cd ${WRKSRC} && ./waf ${WAF_VERBOSE} ${WAF_JOBS} build)
do-install:
@(cd ${WRKSRC} && ./waf ${WAF_VERBOSE} install)
.include <bsd.port.post.mk>