freebsd-ports/ftp/mget/Makefile

34 lines
747 B
Makefile
Raw Normal View History

2001-09-23 21:37:32 -04:00
# ex:ts=8
# New ports collection makefile for: mget
# Date created: Sep 21, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= mget
PORTVERSION= 1.4.1
CATEGORIES= ftp ipv6
MASTER_SITES= http://www.cse.iitk.ac.in/users/dbera/
2001-09-23 21:37:32 -04:00
MAINTAINER= ports@FreeBSD.org
2003-02-20 12:24:13 -05:00
COMMENT= Multi Threaded Wget
2001-09-23 21:37:32 -04:00
CFLAGS+= -DHAS_HERROR -DHAVE_GETOPT_LONG -DHAVE_INET_NTOP -DHAVE_IPV6 \
${PTHREAD_CFLAGS:S/"//g}
LDFLAGS+= ${PTHREAD_LIBS:S/"//g}
.if !exists(/usr/include/getopt.h)
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lgnugetopt
.endif
2001-09-23 21:37:32 -04:00
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -o mget *.c ${LDFLAGS}
2001-09-23 21:37:32 -04:00
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mget ${PREFIX}/bin
.include <bsd.port.mk>