aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>