freebsd-ports/ftp/axel/Makefile
Akinori MUSHA 744ecfac33 CC, CXX, CFLAGS, PTHREAD_CFLAGS and PTHREAD_LIBS may contain `/' in
them when using a non-default compiler/linker, so do not use `/' as
delimiter for s///. (I picked `|' instead)
2002-10-10 12:59:36 +00:00

31 lines
600 B
Makefile

# ex:ts=8
# New ports collection makefile for: axel
# Date created: Jul 23, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= axel
PORTVERSION= 1.0a
PORTREVISION= 1
CATEGORIES= ftp
MASTER_SITES= http://www.lintux.cx/downloads/
MAINTAINER= lintux@debian.org
LIB_DEPENDS= intl.4:${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>