1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/net/pppoa/Makefile
Brian Somers 281e5bae02 Don't attempt to fetch speedmgmt.tar.gz. Instead, emit a message telling
the user how to get it if it's not in ${DISTDIR}.

PR: 35379
2002-02-27 18:47:24 +00:00

49 lines
1.5 KiB
Makefile

# New ports collection makefile for: speedtouch
# Date created: August 30 2001
# Whom: Brian Somers <brian@freebsd-services.com>
#
# $FreeBSD$
#
PORTNAME= pppoa
PORTVERSION= 1.0
PORTEPOCH= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.xsproject.org/speedtouch/files/ \
http://www.alcatel.com/consumer/dsl/ \
http://benoit.papillault.free.fr/speedtouch/
MASTER_SITE_SUBDIR= speedtouch
DISTFILES= ${SPEEDTOUCH}.tar.gz ${ALCATELDRIVER}
MAINTAINER= brian@Awfulhak.org
HAS_CONFIGURE= yes
SPEEDTOUCH= speedtouch-1_0
ALCATELDRIVER= speedmgmt.tar.gz
NO_CDROM= "http://www.alcatel.com/consumer/dsl/disclaimer_lx.htm"
NO_PACKAGE= "http://www.alcatel.com/consumer/dsl/disclaimer_lx.htm"
RESTRICTED_FILES= ${ALCATELDRIVER}
WRKSRC= ${WRKDIR}/${SPEEDTOUCH}
MAN1= modem_run.1 pppoa2.1 pppoa3.1
post-install:
if [ ! -d ${PREFIX}/libdata ]; then \
${MKDIR} ${PREFIX}/libdata; \
${CHMOD} 775 ${PREFIX}/libdata; \
${CHOWN} root:wheel ${PREFIX}/libdata; \
fi
${INSTALL_DATA} ${WRKSRC}/../mgmt/mgmt.o ${PREFIX}/libdata/.
${INSTALL_DATA} ${FILESDIR}/quick-install ${PREFIX}/share/speedtouch/.
${CAT} ${PREFIX}/share/speedtouch/quick-install
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${ALCATELDRIVER})
IGNORE= You must manually fetch the Alcatel driver distribution (${DISTDIR}/${ALCATELDRIVER}) via http://www.speedtouchdsl.com/dvrreg_lx.htm (select binary release 1.3.3), place it in ${DISTDIR} and then run make again
.endif
.include <bsd.port.post.mk>