mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support stage
USE_GMAKE -> USES=gmake Use options helpers
This commit is contained in:
parent
956b531ddb
commit
af97e02d24
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341089
@ -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}|; \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user