summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorabs <abs>2009-02-10 12:55:25 +0000
committerabs <abs>2009-02-10 12:55:25 +0000
commit975b6e4ff0ff1e08c736e1838f274e83a02a14e8 (patch)
tree24eb50a035fcb23882797243bbf0cc9b6e0af8dc
parenta6295711ab02a2c3d58a8135135a15c850299e45 (diff)
downloadpkgsrc-975b6e4ff0ff1e08c736e1838f274e83a02a14e8.tar.gz
Add PKG_DESTDIR_SUPPORT, release maintainership
-rw-r--r--net/speedtouch/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/net/speedtouch/Makefile b/net/speedtouch/Makefile
index 1451e15f78b..ab17bd10bab 100644
--- a/net/speedtouch/Makefile
+++ b/net/speedtouch/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2008/04/12 22:43:08 jlam Exp $
+# $NetBSD: Makefile,v 1.27 2009/02/10 12:55:25 abs Exp $
DISTNAME= speedtouch-1.3.1
PKGREVISION= 4
@@ -17,7 +17,7 @@ EXTRACT_OPTS_ZIP= -Laqo -d ${WRKDIR}/firmware
LICENSE= speedtouch-firmware-license
-MAINTAINER= abs@NetBSD.org
+MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.xsproject.org/speedtouch/
COMMENT= Alcatel SpeedTouch USB ADSL modem driver
@@ -45,13 +45,15 @@ pre-extract:
SAMPLECONF= ${WRKSRC}/doc-bsd/ppp.conf.sample
+PKG_DESTDIR_SUPPORT= user-destdir
+INSTALLATION_DIRS= libdata/speedtouch
+
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
+ ${INSTALL_DATA} ${WRKDIR}/firmware/kqd6_3.012 ${DESTDIR}${PREFIX}/libdata/speedtouch
+ ${INSTALL_DATA} ${WRKDIR}/firmware/zzzl_3.012 ${DESTDIR}${PREFIX}/libdata/speedtouch
.include "../../mk/bsd.pkg.mk"