mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
1f26808113
PR: ports/72528 Submitted by: Ports Fury
33 lines
727 B
Makefile
33 lines
727 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/activities/projects/mget/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Multithreaded commandline web-download manager
|
|
|
|
USE_GETOPT_LONG= yes
|
|
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>
|