summaryrefslogtreecommitdiff
path: root/net/speedtouch
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-11 22:46:18 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-11 22:46:18 +0000
commit5ed11b372cb33923cdbc2835d3949451b69209e7 (patch)
tree3b26d102a29ae4469a84aa30a178d8374f8d3893 /net/speedtouch
parente79768a72faa7c22352b73592dda054f9c5097b8 (diff)
downloadpkgsrc-5ed11b372cb33923cdbc2835d3949451b69209e7.tar.gz
DESTDIR support
Diffstat (limited to 'net/speedtouch')
-rw-r--r--net/speedtouch/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/speedtouch/Makefile b/net/speedtouch/Makefile
index 72ffdec61f1..41ef49c941d 100644
--- a/net/speedtouch/Makefile
+++ b/net/speedtouch/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2009/08/25 11:57:45 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2010/02/11 22:50:54 joerg Exp $
DISTNAME= speedtouch-1.3.1
PKGREVISION= 4
@@ -6,6 +6,8 @@ CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=speedtouch/}
DISTFILES= ${DISTNAME}.tar.bz2
+PKG_DESTDIR_SUPPORT= user-destdir
+
#
# Firmware license and link from:
# http://www.speedtouch.com/driver_upgrade_lx_3.0.1.2.htm
@@ -45,6 +47,8 @@ pre-extract:
SAMPLECONF= ${WRKSRC}/doc-bsd/ppp.conf.sample
INSTALLATION_DIRS= libdata/speedtouch
+INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
+ mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
post-build:
${CP} ${SAMPLECONF} ${SAMPLECONF}.pre