svn commit: r457184 - head/graphics/libexif-gtk
Tijl Coosemans
tijl at FreeBSD.org
Sun Dec 24 17:55:20 UTC 2017
Author: tijl
Date: Sun Dec 24 17:55:18 2017
New Revision: 457184
URL: https://svnweb.freebsd.org/changeset/ports/457184
Log:
- Patch configure instead of configure.ac so USE_AUTOTOOLS can be removed.
- Use option helpers, fix pkg-plist and other cleanups.
Modified:
head/graphics/libexif-gtk/Makefile
head/graphics/libexif-gtk/pkg-plist
Modified: head/graphics/libexif-gtk/Makefile
==============================================================================
--- head/graphics/libexif-gtk/Makefile Sun Dec 24 17:36:04 2017 (r457183)
+++ head/graphics/libexif-gtk/Makefile Sun Dec 24 17:55:18 2017 (r457184)
@@ -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
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= 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
-
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>
Modified: head/graphics/libexif-gtk/pkg-plist
==============================================================================
--- head/graphics/libexif-gtk/pkg-plist Sun Dec 24 17:36:04 2017 (r457183)
+++ head/graphics/libexif-gtk/pkg-plist Sun Dec 24 17:55:18 2017 (r457184)
@@ -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
More information about the svn-ports-head
mailing list