pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/oak DESTDIR support
details: https://anonhg.NetBSD.org/pkgsrc/rev/0f0fcb8faff9
branches: trunk
changeset: 570304:0f0fcb8faff9
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Jan 27 22:26:39 2010 +0000
description:
DESTDIR support
diffstat:
sysutils/oak/Makefile | 11 +++++++----
sysutils/oak/distinfo | 4 ++--
sysutils/oak/patches/patch-aa | 4 ++--
3 files changed, 11 insertions(+), 8 deletions(-)
diffs (64 lines):
diff -r 2940314b636d -r 0f0fcb8faff9 sysutils/oak/Makefile
--- a/sysutils/oak/Makefile Wed Jan 27 22:18:35 2010 +0000
+++ b/sysutils/oak/Makefile Wed Jan 27 22:26:39 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/11/04 03:46:01 gendalia Exp $
+# $NetBSD: Makefile,v 1.3 2010/01/27 22:26:39 joerg Exp $
#
DISTNAME= oak-1.5.0
@@ -9,6 +9,8 @@
HOMEPAGE= http://www.ktools.org/dist/oak/
COMMENT= System log reporting tool
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
@@ -17,9 +19,10 @@
RCD_SCRIPTS= oak
CONF_FILES= ${PREFIX}/share/examples/oak/oak.conf ${PKG_SYSCONFDIR}/oak.conf
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/oak
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/oak
- ${INSTALL_DATA} ${FILESDIR}/oak.conf* ${PREFIX}/share/examples/oak/
- ${INSTALL_DATA} ${FILESDIR}/oak.1 ${PREFIX}/${PKGMANDIR}/man1/
+ ${INSTALL_DATA} ${FILESDIR}/oak.conf* ${DESTDIR}${PREFIX}/share/examples/oak/
+ ${INSTALL_DATA} ${FILESDIR}/oak.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
.include "../../mk/bsd.pkg.mk"
diff -r 2940314b636d -r 0f0fcb8faff9 sysutils/oak/distinfo
--- a/sysutils/oak/distinfo Wed Jan 27 22:18:35 2010 +0000
+++ b/sysutils/oak/distinfo Wed Jan 27 22:26:39 2010 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/11/03 14:28:21 rillig Exp $
+$NetBSD: distinfo,v 1.2 2010/01/27 22:26:39 joerg Exp $
SHA1 (oak-1.5.0.tar.gz) = cbfb413d0d6fcd16a7684b586c19ca481e060077
RMD160 (oak-1.5.0.tar.gz) = b1ec46d5f5c0453b07b501d368196e7d884b150e
Size (oak-1.5.0.tar.gz) = 31034 bytes
-SHA1 (patch-aa) = 4dba7d09f70786340881437dca77a99f0a731647
+SHA1 (patch-aa) = f6b6dfb8d50be8f9a918d2dbf88450d90973b16b
SHA1 (patch-ab) = b202613feea1d6d9b538bbc1d34db6c64884c34c
SHA1 (patch-ac) = ce53cf83a7a1e3cb55bb12141a8f5fe744b1cacd
diff -r 2940314b636d -r 0f0fcb8faff9 sysutils/oak/patches/patch-aa
--- a/sysutils/oak/patches/patch-aa Wed Jan 27 22:18:35 2010 +0000
+++ b/sysutils/oak/patches/patch-aa Wed Jan 27 22:26:39 2010 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2007/11/03 14:28:21 rillig Exp $
+$NetBSD: patch-aa,v 1.2 2010/01/27 22:26:39 joerg Exp $
--- Makefile.in 2005-02-27 12:54:53.000000000 -0600
+++ Makefile.in 2006-02-04 14:36:44.000000000 -0600
@@ -13,7 +13,7 @@
install:
- ./install-sh -c oak /usr/local/bin/
-+ ./install-sh -c oak @bindir@/
++ ${BSD_INSTALL_PROGRAM} oak ${DESTDIR}@bindir@/
clean:
$(RM) *~ *.o oak
Home |
Main Index |
Thread Index |
Old Index