aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorskreuzer <skreuzer@FreeBSD.org>2009-05-21 04:30:23 +0800
committerskreuzer <skreuzer@FreeBSD.org>2009-05-21 04:30:23 +0800
commita8429458546ac66ca3441e01beabc3549796138a (patch)
tree083f8fd5367e1553cb41404bd098f93f33854b34 /sysutils
parentff2e9b908b9a9c3be8ba877bd086a4e14bf6eb72 (diff)
downloadfreebsd-ports-gnome-a8429458546ac66ca3441e01beabc3549796138a.tar.gz
freebsd-ports-gnome-a8429458546ac66ca3441e01beabc3549796138a.tar.zst
freebsd-ports-gnome-a8429458546ac66ca3441e01beabc3549796138a.zip
Add man page
Honor NO_INSTALL_MANPAGES PR: ports/134336 Submitted by: Alexander Logvinov <ports@logvinov.com> Approved by: wxs (mentor)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/flashrom/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysutils/flashrom/Makefile b/sysutils/flashrom/Makefile
index aead2cd8af5f..471681575cef 100644
--- a/sysutils/flashrom/Makefile
+++ b/sysutils/flashrom/Makefile
@@ -7,6 +7,7 @@
PORTNAME= flashrom
PORTVERSION= 0.9.0
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://qa.coreboot.org/releases/
@@ -21,8 +22,16 @@ USE_GMAKE= yes
PORTDOCS= COPYING README
PLIST_FILES= bin/${PORTNAME}
+.if !defined(NO_INSTALL_MANPAGES)
+MAN8= ${PORTNAME}.8
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+.if !defined(NO_INSTALL_MANPAGES)
+ ${MKDIR} ${MANPREFIX}/man/man8
+ ${INSTALL_MAN} ${WRKSRC}/${MAN8} ${MANPREFIX}/man/man8
+.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}