aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/axel/Makefile
blob: 07c5009b305eb807c228d54dc8dc8c0f79dbb18b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# ex:ts=8
# New ports collection makefile for:    axel
# Date created:         Jul 23, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   axel
PORTVERSION=    1.0a
PORTREVISION=   2
CATEGORIES= ftp
MASTER_SITES=   http://www.lintux.cx/downloads/

MAINTAINER= lintux@debian.org
COMMENT=    A download accelerator

LIB_DEPENDS=    intl.5:${PORTSDIR}/devel/gettext

USE_GMAKE=  yes
HAS_CONFIGURE=  yes
USE_REINPLACE=  yes
CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${PREFIX}/man --i18n=1

MAN1=       axel.1

post-configure:
    @${REINPLACE_CMD} -e 's,-O3,${CFLAGS},; s|gcc|${CC}|; \
        s|-pthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile.settings

.include <bsd.port.mk>