mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
52c1d9e875
PR: 39641 Submitted by: KATO Tsuguru <tkato@prontomail.com>
29 lines
653 B
Makefile
29 lines
653 B
Makefile
# 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/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
|
|
|
|
CFLAGS+= -DHAS_HERROR -DHAVE_GETOPT_LONG -DHAVE_INET_NTOP -DHAVE_IPV6 \
|
|
-I${LOCALBASE}/include ${PTHREAD_CFLAGS:S/"//g}
|
|
LDFLAGS= -L${LOCALBASE}/lib -lgnugetopt ${PTHREAD_LIBS:S/"//g}
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} -o mget *.c ${LDFLAGS}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mget ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|