1a6f11a349
PR: 16543 Submitted by: MIHIRA Yoshiro <sanpei@sanpei.org>
61 lines
1.9 KiB
Makefile
61 lines
1.9 KiB
Makefile
# New ports collection makefile for: magicpoint
|
|
# Version required: 1.05a
|
|
# Date created: 24 December 1997
|
|
# Whom: itojun@itojun.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
# "?=" and "+=" are for localized (i.e. Japanese) version
|
|
|
|
DISTNAME= magicpoint-1.06a
|
|
PKGNAME?= magicpoint-1.06a
|
|
CATEGORIES+= misc
|
|
MASTER_SITES= ftp://ftp.mew.org/pub/MagicPoint/
|
|
|
|
MAINTAINER?= itojun@itojun.org
|
|
|
|
LIB_DEPENDS+= ttf.4:${PORTSDIR}/print/freetype
|
|
|
|
USE_IMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS?=--disable-vflib
|
|
|
|
post-configure:
|
|
(cd ${WRKSRC}/contrib/xmindpath; ./configure --prefix=${PREFIX})
|
|
|
|
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 \
|
|
SYNTAX TODO.jp USAGE USAGE.jp
|
|
SAMPLES= README README.jp ascii.mgp cloud.gif dad.eps dad.gif dns.mgp \
|
|
default.mgp gradation.mgp mgp-old1.gif mgp-old2.gif \
|
|
mgp-old3.gif mgp1.gif mgp2.gif mgp3.gif sample.mgp \
|
|
tutorial.mgp v6.mgp v6header.eps v6header.gif
|
|
SAMPLES= README README.jp cloud.gif dad.eps dad.gif default.mgp \
|
|
dns-jp.mgp embed-jp.mgp embed.mgp gradation-jp.mgp \
|
|
gradation.mgp mgp-old1.gif mgp-old2.gif mgp-old3.gif \
|
|
mgp1.gif mgp2.gif mgp3.gif 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.gif
|
|
|
|
# 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 !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
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|