pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/usbutil Install the manual page for usbgen. ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ab18e62db169
branches:  trunk
changeset: 550649:ab18e62db169
user:      bjs <bjs%pkgsrc.org@localhost>
date:      Tue Nov 25 13:21:48 2008 +0000

description:
Install the manual page for usbgen.  While here,
use a BSD Makefile for consistency's sake (why not?).

PKGREVISION++

diffstat:

 sysutils/usbutil/Makefile         |  17 +++++++++++++++--
 sysutils/usbutil/PLIST            |   3 ++-
 sysutils/usbutil/distinfo         |   3 +--
 sysutils/usbutil/files/Makefile   |  14 ++++++++++++++
 sysutils/usbutil/patches/patch-ae |  14 --------------
 5 files changed, 32 insertions(+), 19 deletions(-)

diffs (92 lines):

diff -r b6c6c2011945 -r ab18e62db169 sysutils/usbutil/Makefile
--- a/sysutils/usbutil/Makefile Tue Nov 25 12:52:33 2008 +0000
+++ b/sysutils/usbutil/Makefile Tue Nov 25 13:21:48 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2008/10/10 23:30:59 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2008/11/25 13:21:48 bjs Exp $
 #
 
 DISTNAME=      usbutil-0.5
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    sysutils
 MASTER_SITES=  ftp://ftp.augustsson.net/pub/netbsd/
 
@@ -11,4 +11,17 @@
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
+AUTO_MKDIRS=           yes
+USE_BSD_MAKEFILE=      yes
+
+INSTALL_TARGET+=       maninstall install
+
+MAKE_FLAGS+=   BINDIR=${PREFIX:Q}/sbin
+MAKE_FLAGS+=   MKCATPAGES=no
+MAKE_FLAGS+=   MKHTML=no
+MAKE_FLAGS+=   NOGCCERROR=yes  # in keeping with original Makefile
+
+post-extract
+       ${RUN} ${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile
+
 .include "../../mk/bsd.pkg.mk"
diff -r b6c6c2011945 -r ab18e62db169 sysutils/usbutil/PLIST
--- a/sysutils/usbutil/PLIST    Tue Nov 25 12:52:33 2008 +0000
+++ b/sysutils/usbutil/PLIST    Tue Nov 25 13:21:48 2008 +0000
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:54:07 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2008/11/25 13:21:48 bjs Exp $
+man/man8/usbgen.8
 sbin/usbctl
 sbin/usbdebug
 sbin/usbgen
diff -r b6c6c2011945 -r ab18e62db169 sysutils/usbutil/distinfo
--- a/sysutils/usbutil/distinfo Tue Nov 25 12:52:33 2008 +0000
+++ b/sysutils/usbutil/distinfo Tue Nov 25 13:21:48 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2008/10/14 11:37:02 joerg Exp $
+$NetBSD: distinfo,v 1.11 2008/11/25 13:21:48 bjs Exp $
 
 SHA1 (usbutil-0.5.tar.gz) = 4c9abc6f370ab561bd2748b1792802d1e959c599
 RMD160 (usbutil-0.5.tar.gz) = 48c6bedeed8daf50a760feedef3575db021066f8
@@ -7,4 +7,3 @@
 SHA1 (patch-ab) = af20c5d609c5fccfb0f8672d00daeda195a3b4a0
 SHA1 (patch-ac) = 0c1c7e67c84c1a6db1ad0144803977bee7c61ceb
 SHA1 (patch-ad) = a98c2a46c6eb860416ff631c62361f5b0282def8
-SHA1 (patch-ae) = a15d3fe9922cc0628760f3177a941fd65f5082fe
diff -r b6c6c2011945 -r ab18e62db169 sysutils/usbutil/files/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/usbutil/files/Makefile   Tue Nov 25 13:21:48 2008 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2008/11/25 13:21:48 bjs Exp $
+
+# NOTE:  BINDIR, MKHTML, NOGCCERROR, and BINDIR set by pkgsrc Makefile
+
+PROGS=                 usbctl usbdebug usbstats usbgen 
+
+CPPFLAGS+=     -Wall   # In keeping with original Makefile
+
+.for p in ${PROGS}
+MAN.${p}?=     # empty
+.endfor
+MAN.usbgen=    usbgen.8
+
+.include <bsd.prog.mk>
diff -r b6c6c2011945 -r ab18e62db169 sysutils/usbutil/patches/patch-ae
--- a/sysutils/usbutil/patches/patch-ae Tue Nov 25 12:52:33 2008 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-ae,v 1.2 2008/10/10 23:30:59 joerg Exp $
-
---- Makefile.orig      1999-05-19 23:05:31.000000000 +0200
-+++ Makefile
-@@ -19,7 +19,8 @@ usbgen:              usbgen.c
-       cc $(CFLAGS) usbgen.c -o usbgen
- 
- install: $(PROGS)
--      install usbctl usbdebug usbstats usbgen $(PREFIX)/sbin
-+      install -d ${DESTDIR}$(PREFIX)/sbin
-+      install usbctl usbdebug usbstats usbgen ${DESTDIR}$(PREFIX)/sbin
- 
- clean:
-       rm -f $(PROGS)



Home | Main Index | Thread Index | Old Index