aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libexif
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-03-03 06:19:12 +0800
committerbapt <bapt@FreeBSD.org>2014-03-03 06:19:12 +0800
commitfb0902162f16bf804b88edb4106e8af9a3027d5d (patch)
tree960a279e408d8611f8711f0ff5aa33ce2ed6e711 /graphics/libexif
parentbce3864da4ceb3453dab43b4df039e297ed9fc9b (diff)
downloadfreebsd-ports-gnome-fb0902162f16bf804b88edb4106e8af9a3027d5d.tar.gz
freebsd-ports-gnome-fb0902162f16bf804b88edb4106e8af9a3027d5d.tar.zst
freebsd-ports-gnome-fb0902162f16bf804b88edb4106e8af9a3027d5d.zip
Convert to USES=libtool
Use options helpers
Diffstat (limited to 'graphics/libexif')
-rw-r--r--graphics/libexif/Makefile20
-rw-r--r--graphics/libexif/pkg-plist1
2 files changed, 8 insertions, 13 deletions
diff --git a/graphics/libexif/Makefile b/graphics/libexif/Makefile
index adb20d28e14a..cccc89aeb304 100644
--- a/graphics/libexif/Makefile
+++ b/graphics/libexif/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libexif
PORTVERSION= 0.6.21
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= SF
@@ -13,27 +14,20 @@ LICENSE= LGPL21
OPTIONS_DEFINE= DOCS NLS
-USES= gmake pathfix pkgconfig
+USES= libtool gmake pathfix pkgconfig
USE_BZIP2= yes
-USE_GNOME= ltverhack
-USE_AUTOTOOLS= libtool
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-docs
USE_LDCONFIG= yes
PORTDOCS= AUTHORS ChangeLog NEWS README
+OPTIONS_SUB= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ENV+= am_cv_func_iconv=no
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
+NLS_USES= gettext
+NLS_CONFIGURE_ENV_OFF= am_cv_func_iconv=no
+NLS_CONFIGURE_ENABLE= yes
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS =/s|doc||g ; \
diff --git a/graphics/libexif/pkg-plist b/graphics/libexif/pkg-plist
index 96dd5b66333d..ff0c0dae1a36 100644
--- a/graphics/libexif/pkg-plist
+++ b/graphics/libexif/pkg-plist
@@ -16,6 +16,7 @@ lib/libexif.a
lib/libexif.la
lib/libexif.so
lib/libexif.so.12
+lib/libexif.so.12.3.3
libdata/pkgconfig/libexif.pc
%%NLS%%share/locale/be/LC_MESSAGES/libexif-12.mo
%%NLS%%share/locale/bs/LC_MESSAGES/libexif-12.mo