aboutsummaryrefslogtreecommitdiffstats
path: root/www/aria2/Makefile
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-12-15 04:15:35 +0800
committersat <sat@FreeBSD.org>2007-12-15 04:15:35 +0800
commitf97524d9767d0e60a20d1489a72c23ace9d5223a (patch)
treebec9c3dc6d26971a69419199514eb0293c497a2b /www/aria2/Makefile
parentc104dd70576610ab6f8d28aef596aa5c52308329 (diff)
downloadfreebsd-ports-gnome-f97524d9767d0e60a20d1489a72c23ace9d5223a.tar.gz
freebsd-ports-gnome-f97524d9767d0e60a20d1489a72c23ace9d5223a.tar.zst
freebsd-ports-gnome-f97524d9767d0e60a20d1489a72c23ace9d5223a.zip
- Respect WITHOUT_NLS
PR: ports/117876 (based on) Submitted by: Philip Gollucci <pgollucci@p6m7g8.com>
Diffstat (limited to 'www/aria2/Makefile')
-rw-r--r--www/aria2/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/www/aria2/Makefile b/www/aria2/Makefile
index a58297fae342..8ddefdf164c4 100644
--- a/www/aria2/Makefile
+++ b/www/aria2/Makefile
@@ -18,15 +18,19 @@ COMMENT= Yet another download tool
#CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}"
#MAKE_ENV= DONTSTRIP=
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} --with-openssl \
- --with-libxml2 --without-gnutls --without-libares --without-libcares \
- --program-transform-name=""
+ --with-libxml2 --without-gnutls --without-libares \
+ --without-libcares --program-transform-name=""
USE_GCC= 3.4+
USE_BZIP2= yes
USE_GNOME= gnomehack libxml2
USE_GETTEXT= yes
GNU_CONFIGURE= yes
+.ifdef WITHOUT_NLS
+CONFIGURE_ARGS+= --disable-nls
+.else
LINGUAS= ca de es fr it ja nl pt_BR ru sv
+.endif
PLIST_FILES= bin/aria2c \
${LINGUAS:S|^|share/locale/|:S|$|/LC_MESSAGES/aria2c.mo|}
MAN1= aria2c.1