da71e1345f
PR: 234633
47 lines
951 B
Makefile
47 lines
951 B
Makefile
# Created by: Michael Johnson <ahze@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= goocanvas
|
|
PORTVERSION= 2.0.4
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= GNOME
|
|
PKGNAMESUFFIX= 2
|
|
DIST_SUBDIR= gnome
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= Canvas widget for GTK+ 3
|
|
|
|
LICENSE= LGPL20
|
|
|
|
USES= gmake gnome libtool localbase pathfix pkgconfig python:build tar:xz
|
|
USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build
|
|
USE_LDCONFIG= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-python=no
|
|
INSTALL_TARGET= install-strip
|
|
|
|
PORTDOCS= *
|
|
DOCSDIR= ${PREFIX}/share/gtk-doc/html/goocanvas2
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
USES+= gettext
|
|
PLIST_SUB+= NLS=""
|
|
.else
|
|
PLIST_SUB+= NLS="@comment "
|
|
.endif
|
|
|
|
post-patch:
|
|
.if ! ${PORT_OPTIONS:MDOCS}
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS/s|docs||g' ${WRKSRC}/Makefile.in
|
|
.endif
|
|
.if ! ${PORT_OPTIONS:MNLS}
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS/s|po||g' ${WRKSRC}/Makefile.in
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|