1998-02-17 12:58:54 +00:00
|
|
|
# New ports collection makefile for: magicpoint
|
|
|
|
# Date created: 24 December 1997
|
|
|
|
# Whom: itojun@itojun.org
|
1998-01-17 15:09:16 +00:00
|
|
|
#
|
1999-08-25 07:23:21 +00:00
|
|
|
# $FreeBSD$
|
1998-01-17 15:09:16 +00:00
|
|
|
#
|
1999-09-10 06:54:16 +00:00
|
|
|
# "?=" and "+=" are for localized (i.e. Japanese) version
|
1998-01-17 15:09:16 +00:00
|
|
|
|
2000-04-13 09:32:05 +00:00
|
|
|
PORTNAME= magicpoint
|
2000-05-21 09:00:24 +00:00
|
|
|
PORTVERSION= 1.07a
|
1999-09-10 06:54:16 +00:00
|
|
|
CATEGORIES+= misc
|
1998-01-17 15:09:16 +00:00
|
|
|
MASTER_SITES= ftp://ftp.mew.org/pub/MagicPoint/
|
|
|
|
|
2000-05-21 09:00:24 +00:00
|
|
|
MAINTAINER?= mita@jp.FreeBSD.org
|
1998-01-17 15:09:16 +00:00
|
|
|
|
1999-11-25 03:41:57 +00:00
|
|
|
LIB_DEPENDS+= ttf.4:${PORTSDIR}/print/freetype
|
1998-09-06 13:48:20 +00:00
|
|
|
|
1998-01-17 15:09:16 +00:00
|
|
|
USE_IMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
1999-09-10 06:54:16 +00:00
|
|
|
CONFIGURE_ARGS?=--disable-vflib
|
1998-01-17 15:09:16 +00:00
|
|
|
|
1998-09-06 13:48:20 +00:00
|
|
|
post-configure:
|
1998-09-07 00:40:50 +00:00
|
|
|
(cd ${WRKSRC}/contrib/xmindpath; ./configure --prefix=${PREFIX})
|
1998-09-06 13:48:20 +00:00
|
|
|
|
|
|
|
post-build:
|
|
|
|
(cd ${WRKSRC}/contrib/xmindpath; make)
|
|
|
|
|
|
|
|
MAN1= mgp.1 mgp2ps.1 mgpembed.1 mgpnet.1 xwintoppm.1 xmindpath.1
|
|
|
|
|
|
|
|
DOCS= COPYRIGHT COPYRIGHT.jp README README.fonts README.fonts.jp \
|
2000-05-21 09:00:24 +00:00
|
|
|
README.lang RELNOTES SYNTAX TODO.jp USAGE USAGE.jp
|
|
|
|
SAMPLES= README README.jp cloud.jpg dad.eps dad.jpg default.mgp \
|
1998-09-06 13:48:20 +00:00
|
|
|
dns-jp.mgp embed-jp.mgp embed.mgp gradation-jp.mgp \
|
2000-05-21 09:00:24 +00:00
|
|
|
gradation.mgp mgp-old1.jpg mgp-old2.jpg mgp-old3.jpg \
|
|
|
|
mgp1.jpg mgp2.jpg mgp3.jpg mgp3.xbm mgprc-sample \
|
1999-06-17 08:33:55 +00:00
|
|
|
multilingual.mgp sample-fr.mgp sample-jp.mgp sample.mgp \
|
2000-05-21 09:00:24 +00:00
|
|
|
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
|
1998-01-17 15:09:16 +00:00
|
|
|
|
1998-09-14 06:38:04 +00:00
|
|
|
# NOTE: there are some discussions/twists in gzip'ing xmindpath.1.
|
1998-01-17 15:09:16 +00:00
|
|
|
post-install:
|
1998-09-06 13:48:20 +00:00
|
|
|
(cd ${WRKSRC}/contrib/xmindpath; make install)
|
|
|
|
${GZIP_CMD} ${PREFIX}/man/man1/xmindpath.1
|
1998-01-17 15:09:16 +00:00
|
|
|
.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
|
2000-05-21 09:00:24 +00:00
|
|
|
${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
|
1998-01-17 15:09:16 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|