aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/libcomprex
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/libcomprex')
-rw-r--r--archivers/libcomprex/Makefile15
-rw-r--r--archivers/libcomprex/pkg-descr2
2 files changed, 11 insertions, 6 deletions
diff --git a/archivers/libcomprex/Makefile b/archivers/libcomprex/Makefile
index a965eb0324cc..81e4b7b58e1d 100644
--- a/archivers/libcomprex/Makefile
+++ b/archivers/libcomprex/Makefile
@@ -15,20 +15,25 @@ MASTER_SITES= SF/gnupdate/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Transparently handles automatic compression and decompression of files
+LICENSE= LGPL21
+
#LIB_DEPENDS= curl.3:${PORTSDIR}/ftp/curl
-GNU_CONFIGURE= yes
+OPTIONS_DEFINE= NLS
+
USE_AUTOTOOLS= libtool
USE_GNOME= gnomehack pkgconfig
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -lintl
USE_LDCONFIG= yes
+MAKE_JOBS_SAFE= yes
-.if !defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib -lintl
PLIST_SUB+= NLS=""
.else
-BROKEN= Does not build without gettext
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
diff --git a/archivers/libcomprex/pkg-descr b/archivers/libcomprex/pkg-descr
index add2072e9a0b..628696624949 100644
--- a/archivers/libcomprex/pkg-descr
+++ b/archivers/libcomprex/pkg-descr
@@ -4,4 +4,4 @@ functions, which provides a smooth transition to libcomprex. libcomprex
can also open uncompressed files, making it a good replacement for the
native file access functions.
-WWW: http://www.gnupdate.org/components/libcomprex/index.xml
+WWW: http://gnupdate.sourceforge.net/components/libcomprex/index.xml