aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/axel/Makefile
blob: 2083e418db01efce4b0ded2c0f924a16309037b3 (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
# ex:ts=8
# New ports collection makefile for:    axel
# Date created:         Jul 23, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   axel
PORTVERSION=    0.99
CATEGORIES= ftp
MASTER_SITES=   http://www.lintux.cx/downloads/

MAINTAINER= ports@FreeBSD.org

LIB_DEPENDS=    gnugetopt:${PORTSDIR}/devel/libgnugetopt \
        intl:${PORTSDIR}/devel/gettext

USE_GMAKE=  yes
CFLAGS+=    -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
MAKE_ENV=   LFLAGS="-L${LOCALBASE}/lib -lgnugetopt -lintl"

MAN1=       axel.1

post-patch:
    @${PERL} -pi -e "s,-pthread,${PTHREAD_LIBS},g ; \
        s,^(CFLAGS = -O3),#\1,g ; \
        s,gcc,${CC},g" ${WRKSRC}/Makefile

.include <bsd.port.mk>