aboutsummaryrefslogtreecommitdiff
path: root/archivers/libcomprex/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/libcomprex/Makefile')
-rw-r--r--archivers/libcomprex/Makefile23
1 files changed, 9 insertions, 14 deletions
diff --git a/archivers/libcomprex/Makefile b/archivers/libcomprex/Makefile
index 5e536462479d..52f308fab6a3 100644
--- a/archivers/libcomprex/Makefile
+++ b/archivers/libcomprex/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libcomprex
PORTVERSION= 0.3.3
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= archivers
MASTER_SITES= SF/gnupdate/${PORTNAME}/${PORTVERSION}
@@ -13,21 +13,16 @@ COMMENT= Transparently handles automatic compression and decompression of files
LICENSE= LGPL21
OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
-USE_AUTOTOOLS= libtool
-USES= pathfix pkgconfig
+INSTALL_TARGET= install-strip
+USES= libtool pathfix pkgconfig
USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -lintl
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
+NLS_USES+= gettext
+NLS_CPPFLAGS+= -I${LOCALBASE}/include
+NLS_LDFLAGS+= -L${LOCALBASE}/lib -lintl
+NLS_CONFIGURE_ARGS= nls
.include <bsd.port.mk>