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

PORTNAME=	pppoa
PORTVERSION=	20011007
CATEGORIES=	net
MASTER_SITES=	http://www.xsproject.org/speedtouch/files/ \
		http://www.alcatel.com/consumer/dsl/ \
    		http://benoit.papillault.free.fr/speedtouch/
DISTFILES=	${SPEEDTOUCH}.tar.gz speedmgmt.tar.gz

MAINTAINER=	brian@Awfulhak.org

HAS_CONFIGURE=		yes
SPEEDTOUCH=		speedtouch-${PORTVERSION}
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

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}/arpwatch;		\
	fi
	${INSTALL_DATA} ${WRKSRC}/../mgmt/mgmt.o ${PREFIX}/libdata/.
	${INSTALL_DATA} ${FILESDIR}/quick-install ${PREFIX}/share/speedtouch/.
	${CAT} ${PREFIX}/share/speedtouch/quick-install
	${INSTALL_MAN} ${WRKSRC}/doc-linux/modem_run.1 ${PREFIX}/man/man1/.
	${INSTALL_MAN} ${WRKSRC}/doc-linux/pppoa2.1 ${PREFIX}/man/man1/.
	${INSTALL_MAN} ${WRKSRC}/doc-linux/pppoa3.1 ${PREFIX}/man/man1/.

.include <bsd.port.mk>