summaryrefslogtreecommitdiff
path: root/net/speedtouch
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-11 22:46:18 +0000
committerjoerg <joerg>2010-02-11 22:46:18 +0000
commit99d44c5e24649baeca752737a9e4b5ec5e030970 (patch)
tree3b26d102a29ae4469a84aa30a178d8374f8d3893 /net/speedtouch
parentd7aa0be9152c3df1e1f4b41ae2fc0203799a3196 (diff)
downloadpkgsrc-99d44c5e24649baeca752737a9e4b5ec5e030970.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