diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2017-12-24 17:55:18 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2017-12-24 17:55:18 +0000 |
commit | 479e9b384d10ee911d7899a41bda29a11a0b9519 (patch) | |
tree | 4bef86951699db7ec9b24ba8a640cb43622786b0 /graphics/libexif-gtk/Makefile | |
parent | 6c1e4375fc6278b468596c026e072378e7f51fcb (diff) |
Notes
Diffstat (limited to 'graphics/libexif-gtk/Makefile')
-rw-r--r-- | graphics/libexif-gtk/Makefile | 31 |
1 files changed, 8 insertions, 23 deletions
diff --git a/graphics/libexif-gtk/Makefile b/graphics/libexif-gtk/Makefile index 8a0e0361165c..a342873a27a5 100644 --- a/graphics/libexif-gtk/Makefile +++ b/graphics/libexif-gtk/Makefile @@ -3,7 +3,7 @@ PORTNAME= libexif-gtk PORTVERSION= 0.4.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics MASTER_SITES= SF/libexif/${PORTNAME}/${PORTVERSION} @@ -14,33 +14,18 @@ LICENSE= LGPL21 LIB_DEPENDS= libexif.so:graphics/libexif -USES= libtool pathfix pkgconfig +GNU_CONFIGURE= yes +USES= libtool pkgconfig USE_GNOME= gtk20 -USE_AUTOTOOLS= autoconf -GUN_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib USE_LDCONFIG= yes -PORTDOCS= AUTHORS ChangeLog NEWS README +OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes -OPTIONS_DEFINE= DOCS NLS - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls post-patch: - @${REINPLACE_CMD} 's|-g ||g' ${WRKSRC}/configure.ac - -post-install: - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + @${REINPLACE_CMD} 's|-g -Wall|-Wall|' ${WRKSRC}/configure .include <bsd.port.mk> |