aboutsummaryrefslogtreecommitdiff
path: root/graphics/libexif-gtk
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2017-12-24 17:55:18 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2017-12-24 17:55:18 +0000
commit479e9b384d10ee911d7899a41bda29a11a0b9519 (patch)
tree4bef86951699db7ec9b24ba8a640cb43622786b0 /graphics/libexif-gtk
parent6c1e4375fc6278b468596c026e072378e7f51fcb (diff)
downloadports-479e9b384d10ee911d7899a41bda29a11a0b9519.tar.gz
ports-479e9b384d10ee911d7899a41bda29a11a0b9519.zip
- Patch configure instead of configure.ac so USE_AUTOTOOLS can be removed.
- Use option helpers, fix pkg-plist and other cleanups.
Notes
Notes: svn path=/head/; revision=457184
Diffstat (limited to 'graphics/libexif-gtk')
-rw-r--r--graphics/libexif-gtk/Makefile31
-rw-r--r--graphics/libexif-gtk/pkg-plist1
2 files changed, 9 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>
diff --git a/graphics/libexif-gtk/pkg-plist b/graphics/libexif-gtk/pkg-plist
index 0a76780575c2..9b6c7ee78f77 100644
--- a/graphics/libexif-gtk/pkg-plist
+++ b/graphics/libexif-gtk/pkg-plist
@@ -14,6 +14,7 @@ include/libexif-gtk/gtk-exif-entry-version.h
include/libexif-gtk/gtk-exif-entry.h
lib/libexif-gtk.a
lib/libexif-gtk.so
+lib/libexif-gtk.so.5
lib/libexif-gtk.so.5.1.0
libdata/pkgconfig/libexif-gtk.pc
%%NLS%%share/locale/de/LC_MESSAGES/libexif-gtk-5.mo