From 5ed11b372cb33923cdbc2835d3949451b69209e7 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 11 Feb 2010 22:46:18 +0000 Subject: DESTDIR support --- net/speedtouch/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'net/speedtouch') 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 -- cgit v1.2.3