[Midnightbsd-cvs] mports [17394] trunk/graphics/exif: fix man page install over exif

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Sep 19 21:08:01 EDT 2014


Revision: 17394
          http://svnweb.midnightbsd.org/mports/?rev=17394
Author:   laffer1
Date:     2014-09-19 21:08:00 -0400 (Fri, 19 Sep 2014)
Log Message:
-----------
fix man page install over exif

Modified Paths:
--------------
    trunk/graphics/exif/Makefile
    trunk/graphics/exif/pkg-plist

Modified: trunk/graphics/exif/Makefile
===================================================================
--- trunk/graphics/exif/Makefile	2014-09-20 01:05:26 UTC (rev 17393)
+++ trunk/graphics/exif/Makefile	2014-09-20 01:08:00 UTC (rev 17394)
@@ -9,25 +9,20 @@
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	Command line utility to read and manipulate EXIF data
 
-LICENSE=	lgpl
+LICENSE=	lgpl2.1
 
-LIB_DEPENDS=	exif.12:${PORTSDIR}/graphics/libexif \
-		popt.0:${PORTSDIR}/devel/popt
+LIB_DEPENDS=	libexif.so:${PORTSDIR}/graphics/libexif \
+		libpopt.so:${PORTSDIR}/devel/popt
 
-USE_GMAKE=	yes
+OPTIONS_DEFINE=	NLS
+OPTIONS_SUB=	yes
+
+CONFIGURE_ENV=	POPT_CFLAGS=-I${LOCALBASE}/include POPT_LIBS="-L${LOCALBASE}/lib -lpopt"
 GNU_CONFIGURE=	yes
-MAKE_JOBS_SAFE=	yes
-CONFIGURE_ENV+=		POPT_CFLAGS=-I${LOCALBASE}/include POPT_LIBS="-L${LOCALBASE}/lib -lpopt"
+USES=		gmake pkgconfig
 
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+=	--disable-nls --without-libiconv-prefix
-PLIST_SUB+=	NLS="@comment "
-.else
-USE_ICONV=	yes
-USE_GETTEXT=	yes
-PLIST_SUB+=	NLS=""
-.endif
+NLS_CONFIGURE_ON=	--enable-nls ${ICONV_CONFIGURE_ARG}
+NLS_CONFIGURE_OFF=	--disable-nls --without-libiconv-prefix
+NLS_USES=		gettext iconv
 
-MAN1=		exif.1
-
 .include <bsd.port.mk>

Modified: trunk/graphics/exif/pkg-plist
===================================================================
--- trunk/graphics/exif/pkg-plist	2014-09-20 01:05:26 UTC (rev 17393)
+++ trunk/graphics/exif/pkg-plist	2014-09-20 01:08:00 UTC (rev 17394)
@@ -1,4 +1,6 @@
 bin/exif
+man/man1/exif.1.gz
+%%NLS%%share/locale/cs/LC_MESSAGES/exif.mo
 %%NLS%%share/locale/da/LC_MESSAGES/exif.mo
 %%NLS%%share/locale/de/LC_MESSAGES/exif.mo
 %%NLS%%share/locale/es/LC_MESSAGES/exif.mo



More information about the Midnightbsd-cvs mailing list