summaryrefslogtreecommitdiff
path: root/net/netname
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-11 22:14:30 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-11 22:14:30 +0000
commit90d6db33982ffaef9c59afa2f93c5970684a1906 (patch)
tree158a207e58929596737a90cde12a40358acd9b2d /net/netname
parent372ea224c288ea14719b0055008e3944f0621799 (diff)
downloadpkgsrc-90d6db33982ffaef9c59afa2f93c5970684a1906.tar.gz
DESTDIR support
Diffstat (limited to 'net/netname')
-rw-r--r--net/netname/Makefile4
-rw-r--r--net/netname/distinfo4
-rw-r--r--net/netname/patches/patch-aa4
3 files changed, 7 insertions, 5 deletions
diff --git a/net/netname/Makefile b/net/netname/Makefile
index 52fb929abd8..aa7b38c0b19 100644
--- a/net/netname/Makefile
+++ b/net/netname/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/12/24 08:47:31 obache Exp $
+# $NetBSD: Makefile,v 1.9 2010/02/11 22:18:35 joerg Exp $
#
DISTNAME= netname-1.7
@@ -9,6 +9,8 @@ MASTER_SITES= ftp://ftp.gw.com/pub/people/kim/
MAINTAINER= kim@tac.nyc.ny.us
COMMENT= Return the canonical network name of a host
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
diff --git a/net/netname/distinfo b/net/netname/distinfo
index 083019de63b..30927fa0f63 100644
--- a/net/netname/distinfo
+++ b/net/netname/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2007/12/24 08:47:31 obache Exp $
+$NetBSD: distinfo,v 1.6 2010/02/11 22:18:35 joerg Exp $
SHA1 (netname-1.7.tar.gz) = cc3bca5ceb11bdb05f39a9904a5b46f02e3a8dff
RMD160 (netname-1.7.tar.gz) = 7809a80146e2096a010ec3c40a8e9c583255b919
Size (netname-1.7.tar.gz) = 2362 bytes
-SHA1 (patch-aa) = 998ca7e23281d474d3a262d426a4de5b67c9dfe4
+SHA1 (patch-aa) = abfaab5aaa6edc64d5ee39e5ce0439c4477ee4ac
diff --git a/net/netname/patches/patch-aa b/net/netname/patches/patch-aa
index 07ac017ea6f..2b5e39d20a8 100644
--- a/net/netname/patches/patch-aa
+++ b/net/netname/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2007/12/24 08:47:31 obache Exp $
+$NetBSD: patch-aa,v 1.4 2010/02/11 22:18:35 joerg Exp $
--- Makefile.orig 1999-09-15 03:15:12.000000000 +0000
+++ Makefile
@@ -11,7 +11,7 @@ $NetBSD: patch-aa,v 1.3 2007/12/24 08:47:31 obache Exp $
-INSTALL = install
-
-DEST = /usr/local
-+DEST = $(PREFIX)
++DEST = ${DESTDIR}$(PREFIX)
BINDIR = $(DEST)/bin
-MANDIR = $(DEST)/man/man$(MANEXT)
+MANDIR = $(DEST)/$(PKGMANDIR)/man$(MANEXT)