blob: 7678973c0c00f01d7bec31311385ff7395dd70bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Created by: Edward Tomasz Napierala <trasz@FreeBSD.org>
# $FreeBSD$
PORTNAME= flowcanvas
PORTVERSION= 0.7.1
PORTREVISION= 20
CATEGORIES= x11-toolkits
MASTER_SITES= http://download.drobilla.net/
MAINTAINER= ports@FreeBSD.org
COMMENT= Interactive Gtkmm/Gnomecanvasmm widget
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
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= compiler:c++11-lang pkgconfig tar:bzip2 waf
USE_CXXSTD= c++11
USE_LDCONFIG= yes
CFLAGS+= -I${LOCALBASE}/include
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}/lib/lib${PORTNAME}.so
.include <bsd.port.mk>
|