# New ports collection makefile for:	magicpoint
# Date created:		24 December 1997
# Whom:			itojun@itojun.org
#
# $FreeBSD$
#
# "?=" and "+=" are for localized (i.e. Japanese) version

PORTNAME=	magicpoint
PORTVERSION=	1.09a
CATEGORIES+=	misc
MASTER_SITES=	ftp://ftp.mew.org/pub/MagicPoint/

MAINTAINER?=	mita@FreeBSD.org

LIB_DEPENDS+=	png.5:${PORTSDIR}/graphics/png
RUN_DEPENDS+=	pnmscale:${PORTSDIR}/graphics/netpbm

USE_IMAKE=	yes
USE_FREETYPE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS?=--disable-vflib

MAN1=	mgp.1 mgp2ps.1 mgpembed.1 mgpnet.1 xwintoppm.1 xmindpath.1

DOCS=	COPYRIGHT COPYRIGHT.jp FAQ README README.fonts README.fonts.jp \
	README.lang RELNOTES SYNTAX TODO.jp USAGE USAGE.jp
SAMPLES=	README README.jp cloud.jpg dad.eps dad.jpg default.mgp \
		embed-jp.mgp embed.mgp gradation-jp.mgp \
		gradation.mgp mgp-old1.jpg mgp-old2.jpg mgp-old3.jpg \
		mgp.mng mgp1.jpg mgp2.jpg mgp3.jpg mgp3.xbm mgprc-sample \
		multilingual.mgp sample-fr.mgp sample-jp.mgp sample.mgp \
		sendmail6-jp.mgp sendmail6.mgp tutorial-jp.mgp \
		tutorial.mgp v6-jp.mgp v6.mgp v6header.eps v6header.jpg
EMACS_LISPS=	mgp-mode.el mgp-el/COPYING mgp-el/README \
		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)
.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)
	${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 \
		${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/mgp; \
	done
	${MKDIR} ${PREFIX}/share/doc/mgp/sample
	for i in $(SAMPLES); do \
		${INSTALL_DATA} ${WRKSRC}/sample/$$i ${PREFIX}/share/doc/mgp/sample; \
	done
	${MKDIR} ${PREFIX}/share/doc/mgp/emacs-lisp/mgp-el
	for i in $(EMACS_LISPS); do \
		${INSTALL_DATA} ${WRKSRC}/contrib/$$i ${PREFIX}/share/doc/mgp/emacs-lisp/$$i; \
	done
	${MKDIR} ${PREFIX}/share/doc/mgp/scripts
	for i in $(SAMPLE_SCRIPTS); do \
		${INSTALL_SCRIPT} ${WRKSRC}/contrib/$$i ${PREFIX}/share/doc/mgp/scripts/$$i; \
	done
.endif

.include <bsd.port.post.mk>
on4/files/minimist-1.2.3'>dependabot/npm_and_yarn/devel/electron4/files/minimist-1.2.3</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/node-fetch-2.6.1'>dependabot/npm_and_yarn/devel/electron4/files/node-fetch-2.6.1</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/serve-10.1.2'>dependabot/npm_and_yarn/devel/electron4/files/serve-10.1.2</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/y18n-3.2.2'>dependabot/npm_and_yarn/devel/electron4/files/y18n-3.2.2</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.3'>dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.3</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.4'>dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.4</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8'>dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/lodash-4.17.19'>dependabot/npm_and_yarn/devel/electron6/files/lodash-4.17.19</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/lodash.merge-4.6.2'>dependabot/npm_and_yarn/devel/electron6/files/lodash.merge-4.6.2</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/node-fetch-2.6.1'>dependabot/npm_and_yarn/devel/electron6/files/node-fetch-2.6.1</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/serve-10.1.2'>dependabot/npm_and_yarn/devel/electron6/files/serve-10.1.2</option>
<option value='gnome-3.22'>gnome-3.22</option>
<option value='gnome-3.24'>gnome-3.24</option>
<option value='gnome-3.26'>gnome-3.26</option>
<option value='gnome-3.28'>gnome-3.28</option>
<option value='gnome-3.32'>gnome-3.32</option>
<option value='gnome-3.36'>gnome-3.36</option>
<option value='gstreamer'>gstreamer</option>
<option value='gstreamer-1.16'>gstreamer-1.16</option>
<option value='gstreamer0.10-removal' selected='selected'>gstreamer0.10-removal</option>
<option value='main'>main</option>
<option value='master'>master</option>
<option value='mate-1.16'>mate-1.16</option>
<option value='mate-1.18'>mate-1.18</option>
<option value='mate-1.20'>mate-1.20</option>
<option value='mate-1.22'>mate-1.22</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)</td><td class='sub right'></td></tr></table>
<table class='tabs'><tr><td>
<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/about/?h=gstreamer0.10-removal'>about</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/?h=gstreamer0.10-removal'>summary</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/refs/?h=gstreamer0.10-removal&amp;id=b38465ae56285c0e152139b34321c4dd2c5d1bb8'>refs</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/devel/genproto/pkg-descr?h=gstreamer0.10-removal'>log</a><a class='active' href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/tree/devel/genproto/pkg-descr?h=gstreamer0.10-removal&amp;id=b38465ae56285c0e152139b34321c4dd2c5d1bb8'>tree</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/devel/genproto/pkg-descr?h=gstreamer0.10-removal&amp;id=b38465ae56285c0e152139b34321c4dd2c5d1bb8'>commit</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/diff/devel/genproto/pkg-descr?h=gstreamer0.10-removal&amp;id=b38465ae56285c0e152139b34321c4dd2c5d1bb8'>diff</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/stats/devel/genproto/pkg-descr?h=gstreamer0.10-removal'>stats</a></td><td class='form'><form class='right' method='get' action='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/devel/genproto/pkg-descr'>
<input type='hidden' name='h' value='gstreamer0.10-removal'/><input type='hidden' name='id' value='b38465ae56285c0e152139b34321c4dd2c5d1bb8'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/tree/?h=gstreamer0.10-removal&amp;id=b38465ae56285c0e152139b34321c4dd2c5d1bb8'>root</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/tree/devel?h=gstreamer0.10-removal&amp;id=b38465ae56285c0e152139b34321c4dd2c5d1bb8'>devel</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/tree/devel/genproto?h=gstreamer0.10-removal&amp;id=b38465ae56285c0e152139b34321c4dd2c5d1bb8'>genproto</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/tree/devel/genproto/pkg-descr?h=gstreamer0.10-removal&amp;id=b38465ae56285c0e152139b34321c4dd2c5d1bb8'>pkg-descr</a></div><div class='content'>blob: d206437324d3b84a34d00aa83e0a50a405558dc6 (<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/plain/devel/genproto/pkg-descr?h=gstreamer0.10-removal&amp;id=b38465ae56285c0e152139b34321c4dd2c5d1bb8'>plain</a>) (<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/blame/devel/genproto/pkg-descr?h=gstreamer0.10-removal&amp;id=b38465ae56285c0e152139b34321c4dd2c5d1bb8'>blame</a>)
<table summary='blob content' class='blob'>
<tr><td class='linenumbers'><pre><a id='n1' href='#n1'>1</a>
<a id='n2' href='#n2'>2</a>
<a id='n3' href='#n3'>3</a>
<a id='n4' href='#n4'>4</a>
</pre></td>
<td class='lines'><pre><code>