Update graphics/cimg to version 1.7.5,3
[dports.git] / graphics / goocanvas2 / Makefile
1 # Created by: Michael Johnson <ahze@FreeBSD.org>
2 # $FreeBSD$
3 #    $MCom: ports/trunk/graphics/goocanvas2/Makefile 17268 2013-04-01 05:13:11Z marcus $
4
5 PORTNAME=       goocanvas
6 PORTVERSION=    2.0.2
7 PORTREVISION=   1
8 CATEGORIES=     graphics
9 MASTER_SITES=   GNOME
10 PKGNAMESUFFIX=  2
11
12 MAINTAINER=     kwm@FreeBSD.org
13 COMMENT=        Canvas widget for GTK+ 3
14
15 GNU_CONFIGURE=  yes
16 INSTALL_TARGET= install-strip
17 USES=           gmake libtool pathfix pkgconfig tar:xz
18 USE_GNOME=      gtk30 introspection:build
19 USE_LDCONFIG=   yes
20
21 CPPFLAGS+=      -I${LOCALBASE}/include
22 LDFLAGS+=       -L${LOCALBASE}/lib
23
24 PORTDOCS=       *
25 DOCSDIR=        ${PREFIX}/share/gtk-doc/html/goocanvas2
26
27 OPTIONS_DEFINE= DOCS NLS
28
29 .include <bsd.port.options.mk>
30
31 .if ${PORT_OPTIONS:MNLS}
32 USES+=          gettext
33 PLIST_SUB+=     NLS=""
34 .else
35 PLIST_SUB+=     NLS="@comment "
36 .endif
37
38 post-patch:
39 .if ! ${PORT_OPTIONS:MDOCS}
40         @${REINPLACE_CMD} -e '/^SUBDIRS/s|docs||g' ${WRKSRC}/Makefile.in
41 .endif
42 .if ! ${PORT_OPTIONS:MNLS}
43         @${REINPLACE_CMD} -e '/^SUBDIRS/s|po||g' ${WRKSRC}/Makefile.in
44 .endif
45
46 .include <bsd.port.mk>