2001-09-24 01:37:32 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: mget
|
|
|
|
# Date created: Sep 21, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mget
|
2004-10-12 12:52:04 +00:00
|
|
|
PORTVERSION= 1.4.2
|
2001-11-28 21:04:44 +00:00
|
|
|
CATEGORIES= ftp ipv6
|
2004-10-12 12:52:04 +00:00
|
|
|
MASTER_SITES= http://cs-people.bu.edu/dbera/activities/projects/mget/
|
2001-09-24 01:37:32 +00:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-10-12 12:52:04 +00:00
|
|
|
COMMENT= Multithreaded commandline web-download manager
|
2001-09-24 01:37:32 +00:00
|
|
|
|
2003-05-17 16:02:28 +00:00
|
|
|
USE_GETOPT_LONG= yes
|
2001-11-28 21:04:44 +00:00
|
|
|
CFLAGS+= -DHAS_HERROR -DHAVE_GETOPT_LONG -DHAVE_INET_NTOP -DHAVE_IPV6 \
|
2004-10-12 12:52:04 +00:00
|
|
|
${PTHREAD_CFLAGS}
|
|
|
|
LDFLAGS+= ${PTHREAD_LIBS}
|
|
|
|
|
|
|
|
MAN1= mget.1
|
|
|
|
PLIST_FILES= bin/mget
|
2003-02-02 14:02:02 +00:00
|
|
|
|
2001-11-28 21:04:44 +00:00
|
|
|
do-build:
|
2003-05-17 16:02:28 +00:00
|
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} -o mget *.c ${LDFLAGS}
|
2001-09-24 01:37:32 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mget ${PREFIX}/bin
|
2004-10-12 12:52:04 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/mget.1 ${MANPREFIX}/man/man1
|
2001-09-24 01:37:32 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|