mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
32 lines
625 B
Makefile
32 lines
625 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: axel
|
|
# Date created: Jul 23, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= axel
|
|
PORTVERSION= 0.96
|
|
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
|
|
MAKE_ENV= LFLAGS="-L${LOCALBASE}/lib -lgnugetopt -lintl"
|
|
|
|
MANCOMPRESSED= no
|
|
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>
|