aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsylvio <sylvio@FreeBSD.org>2012-06-06 04:27:30 +0800
committersylvio <sylvio@FreeBSD.org>2012-06-06 04:27:30 +0800
commit6d44fd27f399f85537e1ca99b06e188548cf44a9 (patch)
tree0182a917d51194a5096e68f19cd233087bbaff16
parent09a48331fd0ef19a7f69d295b398c8e9b57a17cd (diff)
downloadfreebsd-ports-gnome-6d44fd27f399f85537e1ca99b06e188548cf44a9.tar.gz
freebsd-ports-gnome-6d44fd27f399f85537e1ca99b06e188548cf44a9.tar.zst
freebsd-ports-gnome-6d44fd27f399f85537e1ca99b06e188548cf44a9.zip
- Update MASTER_SITES
- Add LICENSE - Add MAKE_JOBS_SAFE PR: ports/168587 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
-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