From owner-ports-jp@jp.freebsd.org  Fri Jan 19 02:52:50 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id CAA22814;
	Fri, 19 Jan 2001 02:52:50 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from kyoto-tc012-p142.alpha-net.ne.jp (kyoto-tc012-p142.alpha-net.ne.jp [210.237.118.176])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id CAA22809
	for <ports-jp@jp.freebsd.org>; Fri, 19 Jan 2001 02:52:48 +0900 (JST)
	(envelope-from sf@FreeBSD.org)
Received: from souffle.bogus-local.net (localhost [127.0.0.1])
	by kyoto-tc012-p142.alpha-net.ne.jp (Postfix) with ESMTP
	id 1F79E16B72; Fri, 19 Jan 2001 02:52:43 +0900 (JST)
Date: Fri, 19 Jan 2001 02:52:42 +0900
Message-ID: <868zo8928l.wl@cheerful.com>
From: FUJISHIMA Satsuki <sf@FreeBSD.org>
To: ports-jp@jp.freebsd.org
To: mita@FreeBSD.org
Cc: KUNISHIMA Takeo <kunishi@c.oka-pu.ac.jp>
In-Reply-To: <20010118.123034.66172983.kunishi@c.oka-pu.ac.jp>
References: <20010118.123034.66172983.kunishi@c.oka-pu.ac.jp>
User-Agent: Wanderlust/2.4.0 (Rio) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/20.7 (i386--freebsd) MULE/4.1 (AOI)
MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu")
Content-Type: text/plain; charset=ISO-2022-JP
Reply-To: ports-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: ports-jp 10658
Subject: [ports-jp 10658] Re: misc/magicpoint: build fails under XFree86 3.3.6
Errors-To: owner-ports-jp@jp.freebsd.org
Sender: owner-ports-jp@jp.freebsd.org
X-Originator: sf@FreeBSD.org

At Thu, 18 Jan 2001 12:30:34 +0900 (JST),
KUNISHIMA Takeo wrote:
> misc/magicpoint $B$N(B post-build $B%?!<%2%C%H$G!"(Brman $B$r;H$C$F(B
> xmindpath.1.html $B$r:n$k$h$&$K$J$C$F$$$^$9$,!"(BXFree86 3.3.6 $B4D6-$G$O(B
> rman $B$,$J$$$?$a!"(Bfail $B$7$^$9!#(B

$B$&$o!<$9$$$^$;$s!%(Bhtml$B%^%K%e%"%k$r:n$k$N$O(B${XFREE86_VERSION} == 4$B$N>l(B
$B9g$N$_$G$9!%(B

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/misc/magicpoint/Makefile,v
retrieving revision 1.23
diff -u -r1.23 Makefile
--- Makefile	2001/01/14 01:37:16	1.23
+++ Makefile	2001/01/18 17:50:54
@@ -35,20 +35,28 @@
 		mgp-el/mgp.el mgp-el/mgp.sty mgp-el/sample.tex
 SAMPLE_SCRIPTS=	eqn2eps.sh tex2eps.sh mgp2html.pl mgp2latex.pl
 
+.include <bsd.port.pre.mk>
+
 post-configure:
 	(cd ${WRKSRC}/contrib/xmindpath; ./configure --prefix=${PREFIX})
 
 post-build:
-	(cd ${WRKSRC}/contrib/xmindpath; make; \
+	(cd ${WRKSRC}/contrib/xmindpath; make)
+.if ${XFREE86_VERSION} == 4
+	(cd ${WRKSRC}/contrib/xmindpath; \
 	 ${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)
+.endif
 
 # NOTE: there are some discussions/twists in gzip'ing xmindpath.1.
 post-install:
-	(cd ${WRKSRC}/contrib/xmindpath; make install; \
-	 ${INSTALL_MAN} xmindpath.1.html ${PREFIX}/lib/X11/doc/html)
+	(cd ${WRKSRC}/contrib/xmindpath; make install)
 	${GZIP_CMD} ${PREFIX}/man/man1/xmindpath.1
+.if ${XFREE86_VERSION} == 4
+	(cd ${WRKSRC}/contrib/xmindpath;
+	 ${INSTALL_MAN} xmindpath.1.html ${PREFIX}/lib/X11/doc/html)
+.endif
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${PREFIX}/share/doc/mgp
 	for i in $(DOCS); do \
@@ -68,4 +76,4 @@
 	done
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
