[Midnightbsd-cvs] mports [18922] trunk/devel/popt: fix plist

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon May 11 08:25:13 EDT 2015


Revision: 18922
          http://svnweb.midnightbsd.org/mports/?rev=18922
Author:   laffer1
Date:     2015-05-11 08:25:12 -0400 (Mon, 11 May 2015)
Log Message:
-----------
fix plist

Modified Paths:
--------------
    trunk/devel/popt/Makefile
    trunk/devel/popt/pkg-plist

Modified: trunk/devel/popt/Makefile
===================================================================
--- trunk/devel/popt/Makefile	2015-05-11 12:14:34 UTC (rev 18921)
+++ trunk/devel/popt/Makefile	2015-05-11 12:25:12 UTC (rev 18922)
@@ -2,30 +2,28 @@
 
 PORTNAME=	popt
 PORTVERSION=	1.16
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel
 MASTER_SITES=	http://rpm5.org/files/popt/
 
 MAINTAINER=	ports at MidnigghtBSD.org
-COMMENT=	getopt(3) like library with a number of enhancements, from Redhat
+COMMENT=	Getopt(3) like library with a number of enhancements, from Redhat
 
 LICENSE=	mit
 
+OPTIONS_DEFINE=	NLS
+
 CONFIGURE_ARGS=	--with-libiconv-prefix=${LOCALBASE} \
 		--program-prefix=""
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
+INSTALL_TARGET=	install-strip
 GNU_CONFIGURE=	yes
 USES=		libtool pathfix iconv
 USE_LDCONFIG=	yes
 
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+=	NLS="@comment "
-.else
-CONFIGURE_ARGS+=--enable-nls
-PLIST_SUB+=	NLS=""
-USE_GETTEXT=	yes
-.endif
+NLS_CONFIGURE_ENABLE=	nls
+NLS_USES=	gettext
+OPTIONS_SUB=	yes
 
 .include <bsd.port.mk>

Modified: trunk/devel/popt/pkg-plist
===================================================================
--- trunk/devel/popt/pkg-plist	2015-05-11 12:14:34 UTC (rev 18921)
+++ trunk/devel/popt/pkg-plist	2015-05-11 12:25:12 UTC (rev 18922)
@@ -2,6 +2,7 @@
 lib/libpopt.a
 lib/libpopt.so
 lib/libpopt.so.0
+lib/libpopt.so.0.0.0
 libdata/pkgconfig/popt.pc
 man/man3/popt.3.gz
 %%NLS%%share/locale/cs/LC_MESSAGES/popt.mo



More information about the Midnightbsd-cvs mailing list