9a9feba615
This is the latest installment of the GooCanvas, and would be required for upcoming `graphics/akira' update. It is loosely based on `graphics/goocanvas2'.
38 lines
856 B
Makefile
38 lines
856 B
Makefile
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
|
|
PORTNAME= goocanvas
|
|
PORTVERSION= 3.0.0
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= GNOME
|
|
PKGNAMESUFFIX= 3
|
|
DIST_SUBDIR= gnome
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= Cairo-based canvas widget for GTK+
|
|
|
|
LICENSE= LGPL20
|
|
|
|
USES= gmake gnome libtool pkgconfig tar:xz
|
|
USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-python=no
|
|
INSTALL_TARGET= install-strip
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|$${datadir}/gtk-doc/html|${DOCSDIR:H}|' \
|
|
${WRKSRC}/configure
|
|
|
|
post-patch-DOCS-off:
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS/s|docs||g' ${WRKSRC}/Makefile.in
|
|
|
|
post-patch-NLS-off:
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS/s|po||g' ${WRKSRC}/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|