summaryrefslogtreecommitdiff
path: root/net/p5-SNMP_Session
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commitba171a91fab519f587b027c1a2888cb6e3fce049 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /net/p5-SNMP_Session
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'net/p5-SNMP_Session')
-rw-r--r--net/p5-SNMP_Session/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/p5-SNMP_Session/Makefile b/net/p5-SNMP_Session/Makefile
index 87d30c01fb8..5768ef1116b 100644
--- a/net/p5-SNMP_Session/Makefile
+++ b/net/p5-SNMP_Session/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/11/04 11:32:07 obache Exp $
+# $NetBSD: Makefile,v 1.17 2008/06/12 02:14:40 joerg Exp $
DISTNAME= SNMP_Session-1.08
PKGNAME= p5-SNMP_Session-1.08
@@ -10,12 +10,14 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.switch.ch/misc/leinen/snmp/perl/
COMMENT= Perl5 module providing rudimentary access to remote SNMP agents
+PKG_DESTDIR_SUPPORT= user-destdir
+
PERL5_PACKLIST= auto/SNMP_Session/.packlist
CONFLICTS+= mrtg-[0-9]*
post-install:
- ${INSTALL_DATA} ${WRKSRC}/README ${PERL5_INSTALLVENDORLIB}/README.SNMP_Session
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PERL5_INSTALLVENDORLIB}/README.SNMP_Session
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"