From owner-ports-jp@jp.freebsd.org  Thu Jan 18 12:31:08 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id MAA52010;
	Thu, 18 Jan 2001 12:31:08 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from dbmail.c.oka-pu.ac.jp (dbmail.c.oka-pu.ac.jp [163.225.213.85])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id MAA51992
	for <ports-jp@jp.freebsd.org>; Thu, 18 Jan 2001 12:30:58 +0900 (JST)
	(envelope-from kunishi@c.oka-pu.ac.jp)
Received: from localhost (psi.c.oka-pu.ac.jp [163.225.213.86])
	by dbmail.c.oka-pu.ac.jp (8.9.3+3.2W/3.7W:dblab:200005021159) with ESMTP id MAA37065
	for <ports-jp@jp.freebsd.org>; Thu, 18 Jan 2001 12:37:25 +0900 (JST)
Date: Thu, 18 Jan 2001 12:30:34 +0900 (JST)
Message-Id: <20010118.123034.66172983.kunishi@c.oka-pu.ac.jp>
To: ports-jp@jp.freebsd.org
From: KUNISHIMA Takeo <kunishi@c.oka-pu.ac.jp>
X-Mailer: Mew version 1.95b97 on Emacs 20.7 / Mule 4.1 (AOI)
Mime-Version: 1.0
Content-Type: Multipart/Mixed;
 boundary="--Next_Part(Thu_Jan_18_12:30:34_2001_734)--"
Content-Transfer-Encoding: 7bit
Reply-To: ports-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: ports-jp 10652
Subject: [ports-jp 10652] 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: kunishi@c.oka-pu.ac.jp

----Next_Part(Thu_Jan_18_12:30:34_2001_734)--
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit

$B=$@5J}K!$K<+?.$,$J$$$N$G!"(Bsend-pr $B$;$:!"(Bports-jp $B$KEj$2$^$9!#(B

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$G!"$?$V$s(B XFREE86_HTML_MAN $B$r;H$C$F>l9g$o$1$9$l$P$$$$$s$@$m$&$H(B
$B;W$C$FD>$7$F$_$?$s$G$9$,!"$=$N$^$^$G$O$&$^$/$$$-$^$;$s!#(B
$B$"!<$@$3!<$@$d$C$?5s$26g!"(Bbsd.port.pre.mk $B$G(B XFREE86_HTML_MAN $B$,(B
$BDj5A$5$l$k$h$&$KD>$;$P$$$$$3$H$,J,$+$C$?$s$G$9$,!"(Bbsd.port.mk $B$N(B
$B=$@5$O$3$o$$(B(^^;)$B$N$G!"$3$l$G$$$$$N$+65$($F$$$?$@$1$^$;$s$G$7$g$&$+!#(B

$B0J2<$K(B misc/magicpoint $B$H(B bsd.port.mk $B$KBP$9$k%Q%C%A$r$D$1$^$9!#(B

$B9qEg>f@8(B
Internet: kunishi@c.oka-pu.ac.jp, NIFTY SERVE: QYG06054
Homepage: http://psi.c.oka-pu.ac.jp/~kunishi/


----Next_Part(Thu_Jan_18_12:30:34_2001_734)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="magicpoint.patch"

Index: magicpoint/Makefile
===================================================================
RCS file: /home/ncvs/ports/misc/magicpoint/Makefile,v
retrieving revision 1.23
diff -u -r1.23 Makefile
--- magicpoint/Makefile	2001/01/14 01:37:16	1.23
+++ magicpoint/Makefile	2001/01/18 03:19:17
@@ -35,19 +35,26 @@
 		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_HTML_MAN} == "yes"
+	(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)
+.if ${XFREE86_HTML_MAN} == "yes"
+	${INSTALL_MAN} ${WRKSRC}/contrib/xmindpath/xmindpath.1.html ${PREFIX}/lib/X11/doc/html
+.endif
 	${GZIP_CMD} ${PREFIX}/man/man1/xmindpath.1
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${PREFIX}/share/doc/mgp
@@ -68,4 +75,4 @@
 	done
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

----Next_Part(Thu_Jan_18_12:30:34_2001_734)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="bsd.port.mk.patch"

Index: bsd.port.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.361
diff -u -r1.361 bsd.port.mk
--- bsd.port.mk	2001/01/16 09:25:16	1.361
+++ bsd.port.mk	2001/01/18 03:22:32
@@ -711,6 +711,16 @@
 # defaults to 3.3.6; will be changed to 4.0 when it is ready
 XFREE86_VERSION?=	3
 
+.if ${XFREE86_VERSION} == 3
+XFREE86_HTML_MAN=	no
+.else
+.if defined(USE_IMAKE)
+XFREE86_HTML_MAN?=	yes
+.else
+XFREE86_HTML_MAN?=	no
+.endif
+.endif
+
 .endif
 # End of pre-makefile section.
 
@@ -1353,16 +1363,6 @@
 
 .if defined(_MANPAGES) && ${MANCOMPRESSED} == "yes"
 _MANPAGES:=	${_MANPAGES:S/$/.gz/}
-.endif
-
-.if ${XFREE86_VERSION} == 3
-XFREE86_HTML_MAN=	no
-.else
-.if defined(USE_IMAKE)
-XFREE86_HTML_MAN?=	yes
-.else
-XFREE86_HTML_MAN?=	no
-.endif
 .endif
 
 # Put this for down as possible so it will catch all PLIST_SUB definitions.

----Next_Part(Thu_Jan_18_12:30:34_2001_734)----
