1 # Created by: Michael Johnson <ahze@FreeBSD.org>
3 # $MCom: ports/trunk/graphics/goocanvas2/Makefile 17268 2013-04-01 05:13:11Z marcus $
12 MAINTAINER= kwm@FreeBSD.org
13 COMMENT= Canvas widget for GTK+ 3
16 INSTALL_TARGET= install-strip
17 USES= gmake libtool pathfix pkgconfig tar:xz
18 USE_GNOME= gtk30 introspection:build
21 CPPFLAGS+= -I${LOCALBASE}/include
22 LDFLAGS+= -L${LOCALBASE}/lib
25 DOCSDIR= ${PREFIX}/share/gtk-doc/html/goocanvas2
27 OPTIONS_DEFINE= DOCS NLS
29 .include <bsd.port.options.mk>
31 .if ${PORT_OPTIONS:MNLS}
35 PLIST_SUB+= NLS="@comment "
39 .if ! ${PORT_OPTIONS:MDOCS}
40 @${REINPLACE_CMD} -e '/^SUBDIRS/s|docs||g' ${WRKSRC}/Makefile.in
42 .if ! ${PORT_OPTIONS:MNLS}
43 @${REINPLACE_CMD} -e '/^SUBDIRS/s|po||g' ${WRKSRC}/Makefile.in
46 .include <bsd.port.mk>