mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
10c06d1c9e
PR: ports/130346 Submitted by: Michal Petrucha <johnny64@swissjabber.org> Approved by: maintainer timeout (2+ weeks)
50 lines
992 B
Makefile
50 lines
992 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: axel
|
|
# Date created: Jul 23, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= axel
|
|
PORTVERSION= 2.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= ftp
|
|
MASTER_SITES= http://alioth.debian.org/frs/download.php/2659/
|
|
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
|
|
|
|
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|gcc|${CC}|; \
|
|
s|-pthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile.settings
|
|
@${ECHO} 'CFLAGS+=${CFLAGS}' >> ${WRKSRC}/Makefile.settings
|
|
|
|
.include <bsd.port.post.mk>
|