summaryrefslogtreecommitdiff
path: root/net/stripes
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/stripes
parente79768a72faa7c22352b73592dda054f9c5097b8 (diff)
downloadpkgsrc-5ed11b372cb33923cdbc2835d3949451b69209e7.tar.gz
DESTDIR support
Diffstat (limited to 'net/stripes')
-rw-r--r--net/stripes/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/stripes/Makefile b/net/stripes/Makefile
index ebe81e74540..c219b5eff6c 100644
--- a/net/stripes/Makefile
+++ b/net/stripes/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/10/17 07:00:19 rillig Exp $
+# $NetBSD: Makefile,v 1.13 2010/02/11 22:50:43 joerg Exp $
#
DISTNAME= stripes-2.1
@@ -9,6 +9,8 @@ MAINTAINER= kim@tac.nyc.ny.us
HOMEPAGE= http://www.gw.com/sw/stripes/
COMMENT= Looking Glass for Zebra and Cisco Routers
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= {p5-CGI>=2.66,perl>=5.6.1nb2}:../../www/p5-CGI
DEPENDS+= p5-Net-Telnet>=3.02:../../net/p5-Net-Telnet
@@ -23,4 +25,8 @@ REPLACE_PERL= lg.pl
INSTALLATION_DIRS= libexec/cgi-bin ${PKGMANDIR}/man8
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/lg ${DESTDIR}${PREFIX}/libexec/cgi-bin
+ ${INSTALL_MAN} ${WRKSRC}/lg.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+
.include "../../mk/bsd.pkg.mk"