Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2014 20:30:21 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341089 - head/ftp/axel
Message-ID:  <201401252030.s0PKULRf084454@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sat Jan 25 20:30:21 2014
New Revision: 341089
URL: http://svnweb.freebsd.org/changeset/ports/341089
QAT: https://qat.redports.org/buildarchive/r341089/

Log:
  Support stage
  USE_GMAKE -> USES=gmake
  Use options helpers

Modified:
  head/ftp/axel/Makefile
  head/ftp/axel/pkg-plist

Modified: head/ftp/axel/Makefile
==============================================================================
--- head/ftp/axel/Makefile	Sat Jan 25 20:30:10 2014	(r341088)
+++ head/ftp/axel/Makefile	Sat Jan 25 20:30:21 2014	(r341089)
@@ -10,32 +10,19 @@ MASTER_SITES=	https://alioth.debian.org/
 		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}|; \

Modified: head/ftp/axel/pkg-plist
==============================================================================
--- head/ftp/axel/pkg-plist	Sat Jan 25 20:30:10 2014	(r341088)
+++ head/ftp/axel/pkg-plist	Sat Jan 25 20:30:21 2014	(r341089)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401252030.s0PKULRf084454>