aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gtkam/Makefile2
-rw-r--r--graphics/libexif-gtk/Makefile30
-rw-r--r--graphics/libexif-gtk/distinfo4
-rw-r--r--graphics/libexif-gtk/files/patch-configure.in20
4 files changed, 27 insertions, 29 deletions
diff --git a/graphics/gtkam/Makefile b/graphics/gtkam/Makefile
index 40a0cee089b7..0318a6c9dd93 100644
--- a/graphics/gtkam/Makefile
+++ b/graphics/gtkam/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= SF/gphoto/${PORTNAME}/${PORTVERSION}
MAINTAINER= pav@FreeBSD.org
COMMENT= Download and view files from various digital cameras
-LIB_DEPENDS= exif-gtk.5:${PORTSDIR}/graphics/libexif-gtk \
+LIB_DEPENDS= exif-gtk:${PORTSDIR}/graphics/libexif-gtk \
gphoto2.2:${PORTSDIR}/graphics/libgphoto2
WANT_GNOME= yes
diff --git a/graphics/libexif-gtk/Makefile b/graphics/libexif-gtk/Makefile
index dc8c9c288938..57eb78cf5898 100644
--- a/graphics/libexif-gtk/Makefile
+++ b/graphics/libexif-gtk/Makefile
@@ -2,25 +2,43 @@
# $FreeBSD$
PORTNAME= libexif-gtk
-PORTVERSION= 0.3.5
-PORTREVISION= 11
+PORTVERSION= 0.4.0
CATEGORIES= graphics
MASTER_SITES= SF/libexif/${PORTNAME}/${PORTVERSION}
MAINTAINER= marius@nuenneri.ch
COMMENT= GTK+ widgets to display/edit EXIF tags
-LIB_DEPENDS= exif.12:${PORTSDIR}/graphics/libexif
+LICENSE= LGPL21
-USES= pathfix
+LIB_DEPENDS= exif:${PORTSDIR}/graphics/libexif
+
+USES= pathfix
USE_GNOME= gtk20
USE_AUTOTOOLS= autoconf libtool
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
+PORTDOCS= AUTHORS ChangeLog NEWS README
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
post-patch:
- @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
- 's|-D.*_DISABLE_DEPRECATED||g'
+ @${REINPLACE_CMD} 's|-g ||g' ${WRKSRC}/configure.ac
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
.include <bsd.port.mk>
diff --git a/graphics/libexif-gtk/distinfo b/graphics/libexif-gtk/distinfo
index 817e77505477..6c80d25ccd02 100644
--- a/graphics/libexif-gtk/distinfo
+++ b/graphics/libexif-gtk/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libexif-gtk-0.3.5.tar.gz) = d9b58f2f8524520829b19b11c550a3eb97d33d273a8033a41ba7d305c144bff9
-SIZE (libexif-gtk-0.3.5.tar.gz) = 396534
+SHA256 (libexif-gtk-0.4.0.tar.gz) = 4d4ac85dab9f10304f329ab6efd7094eaf88411b76a43b3a32e50edb480fad18
+SIZE (libexif-gtk-0.4.0.tar.gz) = 452303
diff --git a/graphics/libexif-gtk/files/patch-configure.in b/graphics/libexif-gtk/files/patch-configure.in
deleted file mode 100644
index a887ca22733f..000000000000
--- a/graphics/libexif-gtk/files/patch-configure.in
+++ /dev/null
@@ -1,20 +0,0 @@
---- configure.in.orig Tue Oct 19 04:12:58 2004
-+++ configure.in Thu Mar 30 23:22:23 2006
-@@ -52,7 +52,7 @@
- dnl ---------------------------------------------------------------------------
- CPPFLAGS_save="$CPPFLAGS"
- CPPFLAGS=$LIBEXIF_GTK_CFLAGS
--AC_CHECK_HEADER([exif-mem.h], [
-+PKG_CHECK_MODULES(HAVE_EXIF_0_6_12, libexif >= 0.6.12, [
- exif_msg=">= 0.6.12"
- AC_DEFINE(HAVE_EXIF_0_6_12,1,[whether we use a version of libexif greater than 0.6.12])],[
- exif_msg="< 0.6.12 (think about upgrading)"])
-@@ -73,7 +73,7 @@
-
- Configuration (${PACKAGE}):
-
-- Source code location: $(srcdir)
-+ Source code location: ${srcdir}
- Version: ${VERSION}
- Compiler: ${CC}
-