1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/net/pppoa/Makefile
Martin Wilke dca0fd3004 - Fix build with gcc 4.2
PR:		117033
Submitted by:	Raaf <raaf@zen.mooo.com>
2007-10-09 09:45:45 +00:00

51 lines
1.4 KiB
Makefile

# New ports collection makefile for: speedtouch
# Date created: August 30 2001
# Whom: Brian Somers <brian@freebsd-services.com>
#
# $FreeBSD$
#
PORTNAME= pppoa
PORTVERSION= 1.3.1
PORTEPOCH= 2
CATEGORIES= net
MASTER_SITES= http://www.oracle-base.com/articles/misc/:mngt \
${MASTER_SITE_SOURCEFORGE:S/$/:src/}
MASTER_SITE_SUBDIR= speedtouch/:src
DISTFILES= ${SPEEDTOUCH}.tar.bz2:src ${ALCATELDRIVER}:mngt
EXTRACT_ONLY= ${SPEEDTOUCH}.tar.bz2
MAINTAINER= ports@FreeBSD.org
COMMENT= Run PPP over Alcatel's USB Speedtouch device
GNU_CONFIGURE= yes
USE_GMAKE= yes
SPEEDTOUCH= speedtouch-${PORTVERSION}
ALCATELDRIVER= speedmgmt.tar.gz
RESTRICTED= http://www.speedtouchdsl.com/disclaimer_lx.htm
RESTRICTED_FILES= ${ALCATELDRIVER}
WRKSRC= ${WRKDIR}/${SPEEDTOUCH}
MAN8= modem_run.8 pppoa2.8 pppoa3.8
USE_BZIP2= yes
.include <bsd.port.pre.mk>
post-extract:
@${TAR} -zxf ${DISTDIR}/${ALCATELDRIVER} -C ${WRKSRC}
@${REINPLACE_CMD} s/-lkse/${PTHREAD_LIBS}/g ${WRKSRC}/configure
post-patch:
@${REINPLACE_CMD} 's/\@INSTALL_MAN\@/${INSTALL_MAN}/' \
${WRKSRC}/doc-bsd/Makefile.in
post-install:
${INSTALL} -m 0755 -o root -g wheel -d ${PREFIX}/libdata
${INSTALL_DATA} ${WRKSRC}/mgmt/mgmt.o ${PREFIX}/libdata
${INSTALL_DATA} ${FILESDIR}/quick-install \
${PREFIX}/share/doc/speedtouch/.
@${CAT} ${PREFIX}/share/doc/speedtouch/quick-install
.include <bsd.port.post.mk>