2013-06-05 17:25:53 +02:00
|
|
|
# Created by: Michael Johnson <ahze@FreeBSD.org>
|
2006-10-14 10:53:20 +02:00
|
|
|
# $FreeBSD$
|
2013-06-05 17:25:53 +02:00
|
|
|
# $MCom: ports/trunk/graphics/goocanvas/Makefile 17268 2013-04-01 05:13:11Z marcus $
|
2006-10-14 10:53:20 +02:00
|
|
|
|
|
|
|
PORTNAME= goocanvas
|
2013-06-05 17:25:53 +02:00
|
|
|
PORTVERSION= 1.0.0
|
2006-10-14 10:53:20 +02:00
|
|
|
CATEGORIES= graphics
|
2008-08-10 20:33:38 +02:00
|
|
|
MASTER_SITES= GNOME
|
2006-10-14 10:53:20 +02:00
|
|
|
|
2010-07-26 01:09:56 +02:00
|
|
|
MAINTAINER= kwm@FreeBSD.org
|
2006-10-14 10:53:20 +02:00
|
|
|
COMMENT= Canvas widget for GTK+
|
|
|
|
|
2013-06-05 17:25:53 +02:00
|
|
|
USES= pathfix pkgconfig
|
|
|
|
USE_GNOME= gtk20 ltverhack
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2006-10-14 10:53:20 +02:00
|
|
|
USE_LDCONFIG= yes
|
2008-08-10 20:33:38 +02:00
|
|
|
USE_BZIP2= yes
|
2006-10-14 10:53:20 +02:00
|
|
|
|
2013-06-05 17:25:53 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
|
2013-09-20 20:35:44 +02:00
|
|
|
NO_STAGE= yes
|
2013-06-05 17:25:53 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
|
|
USES+= gettext
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2006-10-14 10:53:20 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|$${datadir}/gtk-doc/html|${DOCSDIR}|' \
|
|
|
|
${WRKSRC}/configure
|
2013-06-05 17:25:53 +02:00
|
|
|
.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
|
2006-10-14 10:53:20 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|