aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorSylvio Cesar Teixeira <sylvio@FreeBSD.org>2012-06-05 20:27:30 +0000
committerSylvio Cesar Teixeira <sylvio@FreeBSD.org>2012-06-05 20:27:30 +0000
commit5e0040afb45494a36b762fdd3936781f87cbb959 (patch)
tree7c5eac9cc86227dafcb53521c645d8fb34d8cd2f /archivers
parenta77b29bd3fb6a10c222c350dc6d671d1c19bef7b (diff)
downloadports-5e0040afb45494a36b762fdd3936781f87cbb959.tar.gz
ports-5e0040afb45494a36b762fdd3936781f87cbb959.zip
Notes
Diffstat (limited to 'archivers')
-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