aboutsummaryrefslogtreecommitdiff
path: root/devel/popt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/popt/Makefile')
-rw-r--r--devel/popt/Makefile21
1 files changed, 7 insertions, 14 deletions
diff --git a/devel/popt/Makefile b/devel/popt/Makefile
index 01f9ae3544a5..6e8c549c955b 100644
--- a/devel/popt/Makefile
+++ b/devel/popt/Makefile
@@ -6,22 +6,21 @@
#
PORTNAME= popt
-PORTVERSION= 1.14
-PORTREVISION= 1
+PORTVERSION= 1.16
CATEGORIES= devel
-MASTER_SITES= ftp://ftp.sunfreeware.com/pub/freeware/SOURCES/
-MASTER_SITE_SUBDIR= rpm-4.1.x
+MASTER_SITES= http://rpm5.org/files/popt/
MAINTAINER= jpaetzel@FreeBSD.org
COMMENT= A getopt(3) like library with a number of enhancements, from Redhat
-GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
--program-prefix=""
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-
+GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool:22
+USE_GNOME= gnomehack
+USE_ICONV= yes
USE_LDCONFIG= yes
MAN3= popt.3
@@ -30,15 +29,9 @@ MAN3= popt.3
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.else
-# gettext 0.13 or higher
-USE_GETTEXT= [^0-5]
+CONFIGURE_ARGS+=--enable-nls
PLIST_SUB+= NLS=""
+USE_GETTEXT= yes
.endif
-pre-configure:
-# remove check for xgettext - popt do not use it anyway
- @${REINPLACE_CMD} -e \
- 's:if test ! -f ../rpm.c:if test "1" != "1":' \
- ${WRKSRC}/configure
-
.include <bsd.port.mk>