summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-12-27 11:55:51 +0000
committerobache <obache@pkgsrc.org>2007-12-27 11:55:51 +0000
commit3f346d7a401fe03838c33894a5d1b76b86df94ed (patch)
tree8e9d4972874c2d2e53e114cd205704c33cd349fe /sysutils
parent7a2cf449278d37ab4712b49a1e3284ef0f4293ea (diff)
downloadpkgsrc-3f346d7a401fe03838c33894a5d1b76b86df94ed.tar.gz
* Use *__MAKE_FLAGS instead of *_TARGET for pass variables.
* Honor PKGMANDIR. * Add DESTDIR support. Bump PKGREVISION.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/osname/Makefile11
-rw-r--r--sysutils/osname/distinfo4
-rw-r--r--sysutils/osname/patches/patch-aa12
3 files changed, 16 insertions, 11 deletions
diff --git a/sysutils/osname/Makefile b/sysutils/osname/Makefile
index 5ff973bc0e1..794290d9b83 100644
--- a/sysutils/osname/Makefile
+++ b/sysutils/osname/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2004/12/03 15:15:10 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2007/12/27 11:55:51 obache Exp $
#
DISTNAME= osname-1.1
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.gw.com/pub/people/kim/
@@ -9,7 +10,11 @@ MAINTAINER= kim@tac.nyc.ny.us
COMMENT= Print canonical name of operating system
NO_CONFIGURE= yes
-BUILD_TARGET= all PREFIX=${PREFIX}
-INSTALL_TARGET= install PREFIX=${PREFIX}
+BUILD_MAKE_FLAGS= PREFIX=${PREFIX}
+INSTALL_MAKE_FLAGS= PREFIX=${PREFIX}
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+PKG_DESTDIR_SUPPORT= user-destdir
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/osname/distinfo b/sysutils/osname/distinfo
index 6196fefafc9..596587b9632 100644
--- a/sysutils/osname/distinfo
+++ b/sysutils/osname/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 13:40:55 agc Exp $
+$NetBSD: distinfo,v 1.5 2007/12/27 11:55:51 obache Exp $
SHA1 (osname-1.1.tar.gz) = 4faefdd1b57412805342314b540d909a3289a8ba
RMD160 (osname-1.1.tar.gz) = e514bbe6cfd0bca3d6476c464773e592fc734fd8
Size (osname-1.1.tar.gz) = 1531 bytes
-SHA1 (patch-aa) = a4a3fccf8ebd4a75a478cdd53cff57c5df9d5b6e
+SHA1 (patch-aa) = e72fbefbe1ce22734aa83d5d95743c79b083b0b8
diff --git a/sysutils/osname/patches/patch-aa b/sysutils/osname/patches/patch-aa
index 91c35646e29..062ff618dc5 100644
--- a/sysutils/osname/patches/patch-aa
+++ b/sysutils/osname/patches/patch-aa
@@ -1,15 +1,15 @@
-$NetBSD: patch-aa,v 1.1 2003/09/23 13:39:41 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2007/12/27 11:55:51 obache Exp $
---- Makefile.orig Tue Sep 23 10:30:17 2003
-+++ Makefile Tue Sep 23 10:31:00 2003
-@@ -7,8 +7,8 @@
+--- Makefile.orig 1999-07-05 04:55:02.000000000 +0000
++++ Makefile
+@@ -7,8 +7,8 @@ CMD=osname
all: $(CMD)
install: $(CMD)
- install -c $(CMD) ${PREFIX}/bin/$(CMD)
- install -m 664 $(CMD).1 ${PREFIX}/man/man1
-+ ${BSD_INSTALL_SCRIPT} $(CMD) ${PREFIX}/bin/$(CMD)
-+ ${BSD_INSTALL_MAN} $(CMD).1 ${PREFIX}/man/man1/$(CMD).1
++ ${BSD_INSTALL_SCRIPT} $(CMD) ${DESTDIR}${PREFIX}/bin/$(CMD)
++ ${BSD_INSTALL_MAN} $(CMD).1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/$(CMD).1
clean:
rm -f $(CMD)