aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-11-20 00:02:54 +0800
committervs <vs@FreeBSD.org>2004-11-20 00:02:54 +0800
commit7ab333e6ea1ec55ccd094ca6f357c047d3ff49ce (patch)
tree25ddd87c11645a714f67e1b7eef0c54c46ef78af /sysutils
parentd8da5148f4f1ba6390e9be45ef34148f2f59671b (diff)
downloadfreebsd-ports-gnome-7ab333e6ea1ec55ccd094ca6f357c047d3ff49ce.tar.gz
freebsd-ports-gnome-7ab333e6ea1ec55ccd094ca6f357c047d3ff49ce.tar.zst
freebsd-ports-gnome-7ab333e6ea1ec55ccd094ca6f357c047d3ff49ce.zip
Install mbmon.1
PR: ports/72348 Submitted by: Dmitry Kazarov Approved by: maintainer timeout
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/mbmon/Makefile9
-rw-r--r--sysutils/xmbmon/Makefile9
2 files changed, 14 insertions, 4 deletions
diff --git a/sysutils/mbmon/Makefile b/sysutils/mbmon/Makefile
index 581bdd37b625..d25feca2a602 100644
--- a/sysutils/mbmon/Makefile
+++ b/sysutils/mbmon/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xmbmon
PORTVERSION= 205
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/xmbmon/
.if defined(WITHOUT_X11)
@@ -17,6 +18,7 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= kaz@kobe1995.net
COMMENT= X/tty motherboard monitor for LM78/79, W8378x, AS99127F, VT82C686 and ADM9240
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
.if defined(WITHOUT_X11)
PLIST_SUB= X11_ONLY="@comment "
@@ -27,7 +29,7 @@ PLIST_SUB= X11_ONLY=""
MAKE_ARGS+= DOCSDIR='${DOCSDIR}' INSTALL_DATA='${INSTALL_DATA}' PREFIX='${PREFIX}'
-MAN1= xmbmon.1x
+MAN1= xmbmon.1x mbmon.1
.include <bsd.port.pre.mk>
@@ -42,10 +44,13 @@ pre-everything::
@${ECHO_CMD} "WITHOUT_X11 - Self explanatory"
@${ECHO_CMD} ""
+post-patch:
+ @${REINPLACE_CMD} -e 's+/usr/share/doc/mbmon+${DOCSDIR}+' ${WRKSRC}/mbmon.1
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- (cd ${WRKSRC}; ${MAKE} ${MAKE_ARGS} install-doc)
+ (cd ${WRKSRC}; ${MAKE} ${MAKE_ARGS} install-man install-doc)
.endif
.include <bsd.port.post.mk>
diff --git a/sysutils/xmbmon/Makefile b/sysutils/xmbmon/Makefile
index 581bdd37b625..d25feca2a602 100644
--- a/sysutils/xmbmon/Makefile
+++ b/sysutils/xmbmon/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xmbmon
PORTVERSION= 205
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/xmbmon/
.if defined(WITHOUT_X11)
@@ -17,6 +18,7 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= kaz@kobe1995.net
COMMENT= X/tty motherboard monitor for LM78/79, W8378x, AS99127F, VT82C686 and ADM9240
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
.if defined(WITHOUT_X11)
PLIST_SUB= X11_ONLY="@comment "
@@ -27,7 +29,7 @@ PLIST_SUB= X11_ONLY=""
MAKE_ARGS+= DOCSDIR='${DOCSDIR}' INSTALL_DATA='${INSTALL_DATA}' PREFIX='${PREFIX}'
-MAN1= xmbmon.1x
+MAN1= xmbmon.1x mbmon.1
.include <bsd.port.pre.mk>
@@ -42,10 +44,13 @@ pre-everything::
@${ECHO_CMD} "WITHOUT_X11 - Self explanatory"
@${ECHO_CMD} ""
+post-patch:
+ @${REINPLACE_CMD} -e 's+/usr/share/doc/mbmon+${DOCSDIR}+' ${WRKSRC}/mbmon.1
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- (cd ${WRKSRC}; ${MAKE} ${MAKE_ARGS} install-doc)
+ (cd ${WRKSRC}; ${MAKE} ${MAKE_ARGS} install-man install-doc)
.endif
.include <bsd.port.post.mk>