freebsd-ports/ftp/axel/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

49 lines
984 B
Makefile

# ex:ts=8
# New ports collection makefile for: axel
# Date created: Jul 23, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= axel
PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= ftp
MASTER_SITES= ${MASTER_SITE_GENTOO} \
http://alioth.debian.org/frs/download.php/2287/
MASTER_SITE_SUBDIR= distfiles
MAINTAINER= prudhvikrishna@gmail.com
COMMENT= A download accelerator
USE_GMAKE= yes
HAS_CONFIGURE= yes
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
post-configure:
@${REINPLACE_CMD} -e 's,-O3,${CFLAGS},; s|gcc|${CC}|; \
s|-pthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile.settings
.include <bsd.port.post.mk>