32d8f290c2
under share/examples/rc.d. The variable name already was named RCD_SCRIPTS_EXAMPLEDIR. This is from ideas from Greg Woods and others. Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism (as requested by wiz).
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.14 2004/12/28 02:47:48 reed Exp $
|
|
#
|
|
|
|
DISTNAME= speedtouch-1.3.1
|
|
PKGREVISION= 1
|
|
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_CMD_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
|
|
|
|
USE_PKGINSTALL= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
RCD_SCRIPTS= adsl
|
|
|
|
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"
|