pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/speedtouch Add PKG_DESTDIR_SUPPORT, release mainta...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d938b9581150
branches:  trunk
changeset: 554197:d938b9581150
user:      abs <abs%pkgsrc.org@localhost>
date:      Tue Feb 10 12:55:25 2009 +0000

description:
Add PKG_DESTDIR_SUPPORT, release maintainership

diffstat:

 net/speedtouch/Makefile |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r 91cbe00cebd1 -r d938b9581150 net/speedtouch/Makefile
--- a/net/speedtouch/Makefile   Tue Feb 10 12:49:56 2009 +0000
+++ b/net/speedtouch/Makefile   Tue Feb 10 12:55:25 2009 +0000
@@ -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 @@
 
 LICENSE=               speedtouch-firmware-license
 
-MAINTAINER=            abs%NetBSD.org@localhost
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=              http://www.xsproject.org/speedtouch/
 COMMENT=               Alcatel SpeedTouch USB ADSL modem driver
 
@@ -45,13 +45,15 @@
 
 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"



Home | Main Index | Thread Index | Old Index