From 90d6db33982ffaef9c59afa2f93c5970684a1906 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 11 Feb 2010 22:14:30 +0000 Subject: DESTDIR support --- net/netname/Makefile | 4 +++- net/netname/distinfo | 4 ++-- net/netname/patches/patch-aa | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) (limited to 'net/netname') 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) -- cgit v1.2.3