freebsd-ports/x11-toolkits/flowcanvas/Makefile
Bryan Drewery 63f76304d6 - When DISABLE_MAKE_JOBS or MAKE_JOBS_UNSAFE is set, also set
MAKE_JOBS_NUMBER to 1. This makes it safe to do -j${MAKE_JOBS_NUMBER}
  without any extra logic.
- Cleanup ports working around the empty MAKE_JOBS_NUMBER
- This also fixes several ports that were expecting MAKE_JOBS_NUMBER
  to always have a number

Reviewed by:	bapt
Spotted by:	John Marino <draco@marino.st>
With hat:	portmgr
2013-05-04 14:06:08 +00:00

51 lines
1.2 KiB
Makefile

# Created by: Edward Tomasz Napierala <trasz@FreeBSD.org>
# $FreeBSD$
PORTNAME= flowcanvas
PORTVERSION= 0.7.1
PORTREVISION= 2
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= boost_date_time:${PORTSDIR}/devel/boost-libs \
gvc:${PORTSDIR}/graphics/graphviz \
gnomecanvasmm-2.6:${PORTSDIR}/graphics/libgnomecanvasmm26 \
gtkmm-2.4:${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
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} install)
.include <bsd.port.post.mk>