aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2002-02-28 02:47:24 +0800
committerbrian <brian@FreeBSD.org>2002-02-28 02:47:24 +0800
commit8a0a832358db8d2b5eba98dd26b07c9dd303a99e (patch)
tree56a9ab4c0cc357c296b8802e7b2a43fb3ea7977e /net
parentec966fc878c411f5bb3a53b45a21de842b51a372 (diff)
downloadfreebsd-ports-gnome-8a0a832358db8d2b5eba98dd26b07c9dd303a99e.tar.gz
freebsd-ports-gnome-8a0a832358db8d2b5eba98dd26b07c9dd303a99e.tar.zst
freebsd-ports-gnome-8a0a832358db8d2b5eba98dd26b07c9dd303a99e.zip
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
Diffstat (limited to 'net')
-rw-r--r--net/pppoa/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/net/pppoa/Makefile b/net/pppoa/Makefile
index 8f16782f3782..f90fad051da8 100644
--- a/net/pppoa/Makefile
+++ b/net/pppoa/Makefile
@@ -14,15 +14,16 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.alcatel.com/consumer/dsl/ \
http://benoit.papillault.free.fr/speedtouch/
MASTER_SITE_SUBDIR= speedtouch
-DISTFILES= ${SPEEDTOUCH}.tar.gz speedmgmt.tar.gz
+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= speedmgmt.tar.gz
+RESTRICTED_FILES= ${ALCATELDRIVER}
WRKSRC= ${WRKDIR}/${SPEEDTOUCH}
@@ -38,4 +39,10 @@ post-install:
${INSTALL_DATA} ${FILESDIR}/quick-install ${PREFIX}/share/speedtouch/.
${CAT} ${PREFIX}/share/speedtouch/quick-install
-.include <bsd.port.mk>
+.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>