Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jun 2002 07:00:06 -0700 (PDT)
From:      Thomas Quinot <thomas@cuivre.fr.eu.org>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/39221: net/pptpclient has a new distfile?
Message-ID:  <200206131400.g5DE06Q01776@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/39221; it has been noted by GNATS.

From: Thomas Quinot <thomas@cuivre.fr.eu.org>
To: Dan Langille <dan@langille.org>
Cc: thomas@cuivre.fr.eu.org, Anton Berezin <tobez@FreeBSD.org>,
	bug-followup@FreeBSD.org
Subject: Re: ports/39221: net/pptpclient has a new distfile?
Date: Thu, 13 Jun 2002 15:48:53 +0200

 Le 2002-06-13, Dan Langille écrivait :
 
 > fetch: pptp-linux-1.1.0-1.tar.gz: size of remote file is not known
 > Receiving pptp-linux-1.1.0-1.tar.gz: 8681 bytes
 > 8681 bytes transferred in 0.4 seconds (21.77 kBps)
 
 OK, here is a properly fixed Makefile:
 
 ---------- cut here
 # New ports collection makefile for:	pptpclient
 # Date created:		19 June 1999
 # Whom:			John Polstra <jdp@freebsd.org>
 #
 # $FreeBSD: ports/net/pptpclient/Makefile,v 1.6 2002/02/20 06:22:29 petef Exp $
 #
 
 PORTNAME=		pptpclient
 PORTVERSION=		1.1.0
 CATEGORIES=		net
 MASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	pptpclient
 DISTNAME=		pptp-linux-1.1.0
 DISTFILES=		pptp-linux-1.1.0-1.tar.gz
 
 MAINTAINER=	thomas@cuivre.fr.eu.org
 
 LIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
 
 MAKE_ARGS=	DEBUG="" \
 		INCLUDE="-I${LOCALBASE}/include" \
 		LIBS="-L${LOCALBASE}/lib -lgnugetopt" \
 		all
 
 GUNZIP_CMD=		${GZIP_CMD} ${EXTRACT_BEFORE_ARGS}
 
 do-extract:
 	@${RM} -rf ${WRKDIR}
 	@${MKDIR} ${WRKDIR}
 	@(cd ${WRKDIR} && \
 	${GUNZIP_CMD} ${_DISTDIR}/${DISTFILES} | tar -xf - && \
 	${GUNZIP_CMD} `basename ${DISTFILES} .tar.gz`/${DISTNAME}.tar.gz | \
 	tar -xf -)
 
 do-install:
 	cd ${WRKSRC} ; ${INSTALL_PROGRAM} pptp ${PREFIX}/sbin
 	${MKDIR} ${PREFIX}/share/examples/pptpclient
 	${INSTALL_DATA} ${FILESDIR}/README ${PREFIX}/share/examples/pptpclient
 	${INSTALL_DATA} ${FILESDIR}/ppp.conf ${PREFIX}/share/examples/pptpclient
 
 .include <bsd.port.mk>
 ---------- cut here.
 
 -- 
     Thomas.Quinot@Cuivre.FR.EU.ORG

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206131400.g5DE06Q01776>