aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-25 20:30:21 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-25 20:30:21 +0000
commitaf97e02d24d95e2cccbb9b1ce7f582d6e5944977 (patch)
treee7f19cb79134318a1abdd1fb6575db9e1cbaac68 /ftp
parent956b531ddbbf4b1edce9b90368e13db18544db56 (diff)
downloadports-af97e02d24d95e2cccbb9b1ce7f582d6e5944977.tar.gz
ports-af97e02d24d95e2cccbb9b1ce7f582d6e5944977.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/axel/Makefile27
-rw-r--r--ftp/axel/pkg-plist2
2 files changed, 9 insertions, 20 deletions
diff --git a/ftp/axel/Makefile b/ftp/axel/Makefile
index 330418bf6da8..22eed1c87638 100644
--- a/ftp/axel/Makefile
+++ b/ftp/axel/Makefile
@@ -10,32 +10,19 @@ MASTER_SITES= https://alioth.debian.org/frs/download.php/3015/ \
http://cvs.fedoraproject.org/repo/pkgs/axel/axel-2.4.tar.gz/a2a762fce0c96781965c8f9786a3d09d/
MAINTAINER= prudhvi-krishna-bsd@surapaneni.in
-COMMENT= A download accelerator
+COMMENT= Download accelerator
-USE_GMAKE= yes
+USES= gmake
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${MANPREFIX}/man
OPTIONS_DEFINE= NLS DEBUG
+OPTIONS_SUB= yes
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext iconv
-PLIST_SUB+= NLS=""
-CONFIGURE_ARGS+=--i18n=1
-.else
-PLIST_SUB+= NLS="@comment "
-CONFIGURE_ARGS+=--i18n=0
-.endif
-
-.if ${PORT_OPTIONS:MDEBUG}
-CONFIGURE_ARGS+=--debug=1 --strip=0
-.endif
-
-MAN1= axel.1
-MANLANG= "" zh_CN
+NLS_USES= gettext iconv
+NLS_CONFIGURE_ON= --i18n=1
+NLS_CONFIGURE_OFF= --i18n=0
+DEBUG_CONFIGURE_ON=--debug=1 --strip=0
post-configure:
@${REINPLACE_CMD} -e 's|gcc|${CC}|; \
diff --git a/ftp/axel/pkg-plist b/ftp/axel/pkg-plist
index f676ba1a7f9c..87d7e15f39d4 100644
--- a/ftp/axel/pkg-plist
+++ b/ftp/axel/pkg-plist
@@ -1,5 +1,7 @@
bin/axel
etc/axelrc
+man/man1/axel.1.gz
+man/zh_CN/man1/axel.1.gz
%%NLS%%share/locale/de/LC_MESSAGES/axel.mo
%%NLS%%share/locale/nl/LC_MESSAGES/axel.mo
%%NLS%%share/locale/ru/LC_MESSAGES/axel.mo