File:
[cvs.NetBSD.org] /
pkgsrc /
net /
speedtouch /
Makefile
Revision
1.25:
download - view:
text,
annotated -
select for diffs
Thu Feb 22 19:26:59 2007 UTC (17 years, 9 months ago) by
wiz
Branches:
MAIN
CVS tags:
pkgsrc-2008Q1-base,
pkgsrc-2008Q1,
pkgsrc-2007Q4-base,
pkgsrc-2007Q4,
pkgsrc-2007Q3-base,
pkgsrc-2007Q3,
pkgsrc-2007Q2-base,
pkgsrc-2007Q2,
pkgsrc-2007Q1-base,
pkgsrc-2007Q1,
HEAD
Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
# $NetBSD: Makefile,v 1.25 2007/02/22 19:26:59 wiz Exp $
DISTNAME= speedtouch-1.3.1
PKGREVISION= 4
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=speedtouch/}
DISTFILES= ${DISTNAME}.tar.bz2
#
# Firmware license and link from:
# http://www.speedtouch.com/driver_upgrade_lx_3.0.1.2.htm
#
FIRMWARE_SRCS= SpeedTouch330_firmware_3012.zip
SITES.${FIRMWARE_SRCS}= http://www.speedtouch.com/download/drivers/USB/
DISTFILES+= ${FIRMWARE_SRCS}
EXTRACT_OPTS_ZIP= -Laqo -d ${WRKDIR}/firmware
LICENSE= speedtouch-firmware-license
MAINTAINER= abs@NetBSD.org
HOMEPAGE= http://www.xsproject.org/speedtouch/
COMMENT= Alcatel SpeedTouch USB ADSL modem driver
DEPENDS+= userppp>=001107:../../net/userppp
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
PLIST_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q}
RCD_SCRIPTS= adsl
.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "native"
PLIST_SUBST+= PPPOA3=""
.else
PLIST_SUBST+= PPPOA3="@comment "
CONFIGURE_ENV+= ac_cv_lib_pthread_pthread_create=no
.endif
CHECK_PORTABILITY_SKIP+= doc-linux/*
pre-extract:
${MKDIR} ${WRKDIR}/firmware
SAMPLECONF= ${WRKSRC}/doc-bsd/ppp.conf.sample
post-build:
${CP} ${SAMPLECONF} ${SAMPLECONF}.pre
${SED} 's:/usr/local:${PREFIX}:' ${SAMPLECONF}.pre > ${SAMPLECONF}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/libdata/speedtouch
${INSTALL_DATA} ${WRKDIR}/firmware/kqd6_3.012 ${PREFIX}/libdata/speedtouch
${INSTALL_DATA} ${WRKDIR}/firmware/zzzl_3.012 ${PREFIX}/libdata/speedtouch
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>