1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/ftp/mget/Makefile
Tilman Keskinoz 376ea718c4 Fix build with clang
PR:		158587
Submitted by:	Niclas Zeising
2011-07-14 15:13:54 +00:00

34 lines
712 B
Makefile

# ex:ts=8
# New ports collection makefile for: mget
# Date created: Sep 21, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= mget
PORTVERSION= 1.4.2
CATEGORIES= ftp ipv6
MASTER_SITES= http://cs-people.bu.edu/dbera/projects/mget/
MAINTAINER= ports@FreeBSD.org
COMMENT= Multithreaded commandline web-download manager
USE_CSTD= gnu89
CFLAGS+= -DHAS_HERROR -DHAVE_GETOPT_LONG -DHAVE_INET_NTOP -DHAVE_IPV6 \
${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}
MAN1= mget.1
PLIST_FILES= bin/mget
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} -o mget *.c ${LDFLAGS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mget ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/mget.1 ${MANPREFIX}/man/man1
.include <bsd.port.mk>