diff options
author | bapt <bapt@FreeBSD.org> | 2014-01-26 04:30:21 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-01-26 04:30:21 +0800 |
commit | bd2aab89e02a310ebedd91acc94a445057ac8008 (patch) | |
tree | e7f19cb79134318a1abdd1fb6575db9e1cbaac68 /ftp/axel | |
parent | e0421aa9cf2929728ad5c6239d4da04b8327487b (diff) | |
download | freebsd-ports-gnome-bd2aab89e02a310ebedd91acc94a445057ac8008.tar.gz freebsd-ports-gnome-bd2aab89e02a310ebedd91acc94a445057ac8008.tar.zst freebsd-ports-gnome-bd2aab89e02a310ebedd91acc94a445057ac8008.zip |
Support stage
USE_GMAKE -> USES=gmake
Use options helpers
Diffstat (limited to 'ftp/axel')
-rw-r--r-- | ftp/axel/Makefile | 27 | ||||
-rw-r--r-- | ftp/axel/pkg-plist | 2 |
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 |