aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormita <mita@FreeBSD.org>2001-01-14 09:37:16 +0800
committermita <mita@FreeBSD.org>2001-01-14 09:37:16 +0800
commitf142e9d19d323194fa4396ac71b279039c6f989c (patch)
tree933e79e668a9fb72ca21bf96f9ab76b9da80894a /misc
parentef5893da384cf013d2c5de4ed1039da9b94d7ec0 (diff)
downloadfreebsd-ports-gnome-f142e9d19d323194fa4396ac71b279039c6f989c.tar.gz
freebsd-ports-gnome-f142e9d19d323194fa4396ac71b279039c6f989c.tar.zst
freebsd-ports-gnome-f142e9d19d323194fa4396ac71b279039c6f989c.zip
Added HTML manual
Submitted by: sf@FreeBSD.org personally
Diffstat (limited to 'misc')
-rw-r--r--misc/magicpoint/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/misc/magicpoint/Makefile b/misc/magicpoint/Makefile
index af2d9767fa62..b9437cd0922c 100644
--- a/misc/magicpoint/Makefile
+++ b/misc/magicpoint/Makefile
@@ -11,7 +11,7 @@ PORTVERSION= 1.07a
CATEGORIES+= misc
MASTER_SITES= ftp://ftp.mew.org/pub/MagicPoint/
-MAINTAINER?= mita@jp.FreeBSD.org
+MAINTAINER?= mita@FreeBSD.org
LIB_DEPENDS+= png.4:${PORTSDIR}/graphics/png
@@ -19,7 +19,6 @@ USE_IMAKE= yes
USE_FREETYPE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS?=--disable-vflib
-XFREE86_HTML_MAN= no
MAN1= mgp.1 mgp2ps.1 mgpembed.1 mgpnet.1 xwintoppm.1 xmindpath.1
@@ -40,11 +39,15 @@ post-configure:
(cd ${WRKSRC}/contrib/xmindpath; ./configure --prefix=${PREFIX})
post-build:
- (cd ${WRKSRC}/contrib/xmindpath; make)
+ (cd ${WRKSRC}/contrib/xmindpath; make; \
+ ${RM} -f xmindpath.1.html xmindpath-1.html; \
+ ${X11BASE}/bin/rman -f HTML < xmindpath.1 > xmindpath-1.html && \
+ ${MV} -f xmindpath-1.html xmindpath.1.html)
# NOTE: there are some discussions/twists in gzip'ing xmindpath.1.
post-install:
- (cd ${WRKSRC}/contrib/xmindpath; make install)
+ (cd ${WRKSRC}/contrib/xmindpath; make install; \
+ ${INSTALL_MAN} xmindpath.1.html ${PREFIX}/lib/X11/doc/html)
${GZIP_CMD} ${PREFIX}/man/man1/xmindpath.1
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/mgp