aboutsummaryrefslogtreecommitdiffstats
path: root/net/pppoa/Makefile
blob: b2b3e0064a84098890ed7af5ef7de0da0a612b33 (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
# New ports collection makefile for:    speedtouch
# Date created:         August 30 2001
# Whom:                 Brian Somers <brian@freebsd-services.com>
#
# $FreeBSD$
#

PORTNAME=       pppoa
PORTVERSION=        1.2b2
PORTEPOCH=      1
CATEGORIES=     net
MASTER_SITES=       http://download.ethomson.com/download/ \
            ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= speedtouch
DISTFILES=      ${SPEEDTOUCH}.tar.bz2 ${ALCATELDRIVER}
EXTRACT_ONLY=       ${SPEEDTOUCH}.tar.bz2

MAINTAINER=     brian@FreeBSD.org
COMMENT=    Run PPP over Alcatel's USB Speedtouch device

HAS_CONFIGURE=      yes
SPEEDTOUCH=     speedtouch-1.2-beta2
ALCATELDRIVER=      speedmgmt.tar.gz
RESTRICTED=     "http://www.speedtouchdsl.com/disclaimer_lx.htm"
RESTRICTED_FILES=   ${ALCATELDRIVER}

WRKSRC=         ${WRKDIR}/${SPEEDTOUCH}

MAN1=           modem_run.1 pppoa2.1 pppoa3.1
USE_BZIP2=      yes

post-extract:
    ${TAR} -zxf ${DISTDIR}/${ALCATELDRIVER} -C ${WRKSRC}

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.mk>