diff options
author | pawel <pawel@FreeBSD.org> | 2013-03-29 05:21:41 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2013-03-29 05:21:41 +0800 |
commit | 43cdc1a996d893b6d6ba9d3c4cdb8bcf1e15bedb (patch) | |
tree | 1b7c854762954ff5d6b3ca2dacc111565a25207b /graphics/libexif-gtk | |
parent | ad0e7f13984792155d85edd5513ba735f85cf14b (diff) | |
download | freebsd-ports-gnome-43cdc1a996d893b6d6ba9d3c4cdb8bcf1e15bedb.tar.gz freebsd-ports-gnome-43cdc1a996d893b6d6ba9d3c4cdb8bcf1e15bedb.tar.zst freebsd-ports-gnome-43cdc1a996d893b6d6ba9d3c4cdb8bcf1e15bedb.zip |
- Update graphics/libexif-gtk to version 0.4.0
- Convert to OptionsNG, respect global DOCS, NLS
- Add LICENSE
- Don't build with debug flags by default
- Bump affected graphics/gtkam port
PR: ports/176830
Submitted by: nemysis <nemysis@gmx.ch>
Approved by: maintainer timeout
Diffstat (limited to 'graphics/libexif-gtk')
-rw-r--r-- | graphics/libexif-gtk/Makefile | 30 | ||||
-rw-r--r-- | graphics/libexif-gtk/distinfo | 4 | ||||
-rw-r--r-- | graphics/libexif-gtk/files/patch-configure.in | 20 |
3 files changed, 26 insertions, 28 deletions
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} - |