pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/mksunbootcd DESTDIR support. Fix man page loc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/87dc91822672
branches:  trunk
changeset: 570282:87dc91822672
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Jan 27 19:29:47 2010 +0000

description:
DESTDIR support. Fix man page location.

diffstat:

 sysutils/mksunbootcd/Makefile |  11 ++++++++++-
 sysutils/mksunbootcd/PLIST    |   4 ++--
 2 files changed, 12 insertions(+), 3 deletions(-)

diffs (37 lines):

diff -r 739a7f33d6aa -r 87dc91822672 sysutils/mksunbootcd/Makefile
--- a/sysutils/mksunbootcd/Makefile     Wed Jan 27 19:27:24 2010 +0000
+++ b/sysutils/mksunbootcd/Makefile     Wed Jan 27 19:29:47 2010 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2005/03/02 00:41:35 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.8 2010/01/27 19:29:47 joerg Exp $
 #
 
 DISTNAME=      mksunbootcd-1.0
+PKGREVISION=   1
 CATEGORIES=    sysutils
 MASTER_SITES=  ftp://ftp.NetBSD.org/pub/NetBSD/misc/mksunbootcd/
 
@@ -9,6 +10,14 @@
 HOMEPAGE=      http://www.NetBSD.org/
 COMMENT=       Combines filesystems for Sun computers to make bootable CD-ROM images
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE=YES
 
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/mksunbootcd ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/mksunbootcd.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
 .include "../../mk/bsd.pkg.mk"
diff -r 739a7f33d6aa -r 87dc91822672 sysutils/mksunbootcd/PLIST
--- a/sysutils/mksunbootcd/PLIST        Wed Jan 27 19:27:24 2010 +0000
+++ b/sysutils/mksunbootcd/PLIST        Wed Jan 27 19:29:47 2010 +0000
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST,v 1.2 2005/03/02 00:41:35 dmcmahill Exp $
+@comment $NetBSD: PLIST,v 1.3 2010/01/27 19:29:47 joerg Exp $
 bin/mksunbootcd
-man/cat1/mksunbootcd.1
+man/man1/mksunbootcd.1



Home | Main Index | Thread Index | Old Index