summaryrefslogtreecommitdiff
path: root/sysutils/usbutil/Makefile
diff options
context:
space:
mode:
authorbjs <bjs@pkgsrc.org>2008-11-25 13:21:48 +0000
committerbjs <bjs@pkgsrc.org>2008-11-25 13:21:48 +0000
commitb1a2f973d7aa8ecfd5927a87eb4e4756534ae4bd (patch)
tree9f7ed3460f4ebebf8a3b484cf25a214980b8f9ab /sysutils/usbutil/Makefile
parent7988bcee0699febc63ceb9186cc8e381dbaa9e88 (diff)
downloadpkgsrc-b1a2f973d7aa8ecfd5927a87eb4e4756534ae4bd.tar.gz
Install the manual page for usbgen. While here,
use a BSD Makefile for consistency's sake (why not?). PKGREVISION++
Diffstat (limited to 'sysutils/usbutil/Makefile')
-rw-r--r--sysutils/usbutil/Makefile17
1 files changed, 15 insertions, 2 deletions
diff --git a/sysutils/usbutil/Makefile b/sysutils/usbutil/Makefile
index 2cc522ad234..62bbd9e6c05 100644
--- a/sysutils/usbutil/Makefile
+++ b/sysutils/usbutil/Makefile
@@ -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 @@ COMMENT= USB developer utilities
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"