summaryrefslogtreecommitdiff
path: root/net/poink
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
commita459d6adc77b22d7efa499cea1bcfbae7c929a42 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /net/poink
parent7854cf84ecbcc45c6b18092fadae7896937e468a (diff)
downloadpkgsrc-a459d6adc77b22d7efa499cea1bcfbae7c929a42.tar.gz
Add DESTDIR support.
Diffstat (limited to 'net/poink')
-rw-r--r--net/poink/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/poink/Makefile b/net/poink/Makefile
index e1db939f49e..51209752112 100644
--- a/net/poink/Makefile
+++ b/net/poink/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2007/01/07 09:14:05 rillig Exp $
+# $NetBSD: Makefile,v 1.12 2008/06/12 02:14:41 joerg Exp $
#
DISTNAME= poink-1.6
@@ -8,13 +8,15 @@ MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= zuntum@NetBSD.org
COMMENT= Nosuid, absolutely secure version of ping utility
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL.
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/poink ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/ping.1 ${PREFIX}/${PKGMANDIR}/man1/poink.1
+ ${INSTALL_PROGRAM} ${WRKSRC}/poink ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/ping.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/poink.1
.include "../../devel/libgetopt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"