1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

Update to 1.1; while I'm there, OPTIONize NLS and DEBUG, and

reflect the new home.

PR:		ports/122802
Approved by:	maintainer
This commit is contained in:
Xin LI 2008-04-16 03:24:59 +00:00
parent 5886565104
commit 1bbe062d73
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=211333
4 changed files with 30 additions and 11 deletions

View File

@ -7,23 +7,42 @@
# #
PORTNAME= axel PORTNAME= axel
PORTVERSION= 1.0b PORTVERSION= 1.1
PORTREVISION= 0
CATEGORIES= ftp CATEGORIES= ftp
MASTER_SITES= http://wilmer.gaast.net/downloads/ MASTER_SITES= ${MASTER_SITE_GENTOO} \
http://alioth.debian.org/frs/download.php/2287/
MASTER_SITE_SUBDIR= distfiles
MAINTAINER= prudhvikrishna@gmail.com MAINTAINER= prudhvikrishna@gmail.com
COMMENT= A download accelerator COMMENT= A download accelerator
USE_GETTEXT= yes
USE_GMAKE= yes USE_GMAKE= yes
HAS_CONFIGURE= yes HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${MANPREFIX}/man --i18n=1 CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${MANPREFIX}/man --i18n=1
OPTIONS= NLS "I18N support" on \
DEBUG "Debugging support" off
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
USE_ICONV= yes
PLIST_SUB+= NLS=""
CONFIGURE_ARGS+=--i18n=1
.else
PLIST_SUB+= NLS="@comment "
CONFIGURE_ARGS+=--i18n=0
.endif
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+=--debug=1 --strip=0
.endif
MAN1= axel.1 MAN1= axel.1
post-configure: post-configure:
@${REINPLACE_CMD} -e 's,-O3,${CFLAGS},; s|gcc|${CC}|; \ @${REINPLACE_CMD} -e 's,-O3,${CFLAGS},; s|gcc|${CC}|; \
s|-pthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile.settings s|-pthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile.settings
.include <bsd.port.mk> .include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
MD5 (axel-1.0b.tar.gz) = 679da19b47570f7ddff1e7958d5df97f MD5 (axel-1.1.tar.gz) = 4991b6ed3c2808c6951c8b1e0a276ce7
SHA256 (axel-1.0b.tar.gz) = cac515949321fa538deb9ab221d233f722fbc3b82d7f7b7c34d6441cb71d7ad4 SHA256 (axel-1.1.tar.gz) = 398ea22b9805e563c3f703377ae6fedd4e339e6702f0f2af11ac7a8180d3eb43
SIZE (axel-1.0b.tar.gz) = 43293 SIZE (axel-1.1.tar.gz) = 45650

View File

@ -2,4 +2,4 @@ Axel tries to accelerate downloads by opening more than one connection to a
server (possibly to different servers). Because of its size it might also server (possibly to different servers). Because of its size it might also
be useful as a wget replacement on bootdisks and other small systems. be useful as a wget replacement on bootdisks and other small systems.
WWW: http://wilmer.gaast.net/main.php/axel.html WWW: http://axel.alioth.debian.org/

View File

@ -1,4 +1,4 @@
bin/axel bin/axel
etc/axelrc etc/axelrc
share/locale/de/LC_MESSAGES/axel.mo %%NLS%%share/locale/de/LC_MESSAGES/axel.mo
share/locale/nl/LC_MESSAGES/axel.mo %%NLS%%share/locale/nl/LC_MESSAGES/axel.mo