aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/flashrom/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/flashrom/Makefile')
-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}