summaryrefslogtreecommitdiff
path: root/sysutils/usbutil/Makefile
diff options
context:
space:
mode:
authorbjs <bjs@pkgsrc.org>2008-12-07 12:32:27 +0000
committerbjs <bjs@pkgsrc.org>2008-12-07 12:32:27 +0000
commit22dc55c0a9cd8ff662f21235dd7d9c4a1c431c13 (patch)
treed7e62a333c655738cdc077fbfcf3b0fae7a0dcde /sysutils/usbutil/Makefile
parent1a20bbe713cea31857138726b2946ec9c21b912a (diff)
downloadpkgsrc-22dc55c0a9cd8ff662f21235dd7d9c4a1c431c13.tar.gz
Back out new-style BSD makefile, as older NetBSD mk files do not
support PROGS. Ensure that we install the usbgen(8) manual page, though. No PKGREVISION bump as no change in installed files from previous revision.
Diffstat (limited to 'sysutils/usbutil/Makefile')
-rw-r--r--sysutils/usbutil/Makefile18
1 files changed, 5 insertions, 13 deletions
diff --git a/sysutils/usbutil/Makefile b/sysutils/usbutil/Makefile
index 76dc9f5d70b..48dc8b2714a 100644
--- a/sysutils/usbutil/Makefile
+++ b/sysutils/usbutil/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2008/11/25 13:22:30 bjs Exp $
+# $NetBSD: Makefile,v 1.15 2008/12/07 12:32:27 bjs Exp $
#
DISTNAME= usbutil-0.5
@@ -11,17 +11,9 @@ 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
+post-install:
+ ${INSTALL_MAN_DIR} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+ ${INSTALL_MAN} ${WRKSRC}/usbgen.8 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/usbgen.8
.include "../../mk/bsd.pkg.mk"