aboutsummaryrefslogtreecommitdiffstats
path: root/net/pppoa/Makefile
blob: 2d41471db35f78825216f9258096111ffe354d75 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# New ports collection makefile for:    speedtouch
# Date created:         August 30 2001
# Whom:                 Brian Somers <brian@freebsd-services.com>
#
# $FreeBSD$
#

PORTNAME=       pppoa
PORTVERSION=        1.1b
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@FreeBSD.org

HAS_CONFIGURE=      yes
SPEEDTOUCH=     speedtouch-1.1b
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:
    ${INSTALL} -m 0755 -o root -g wheel -d ${LOCALBASE}/libdata
    ${INSTALL_DATA} ${WRKSRC}/../mgmt/mgmt.o ${LOCALBASE}/libdata
    ${INSTALL_DATA} ${FILESDIR}/quick-install \
        ${LOCALBASE}/share/doc/speedtouch/.
    @${CAT} ${LOCALBASE}/share/doc/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>