openbsd-ports/misc/magicpoint/Makefile
brad 56e7a947a9 - fixup Makefile
- remove FreeBSD-ism
- mkdir -> ${INSTALL_DATA_DIR}
- make -> ${MAKE_PROGRAM}
2001-03-07 22:34:45 +00:00

59 lines
1.9 KiB
Makefile

# $OpenBSD: Makefile,v 1.15 2001/03/07 22:34:45 brad Exp $
DISTNAME= magicpoint-1.07a
# question is for localized (i.e. Japanese) version
PKGNAME?= magicpoint-1.07a
CATEGORIES= misc productivity
NEED_VERSION= 1.336
MASTER_SITES= ftp://ftp.mew.org/pub/MagicPoint/
MAINTAINER= ports@openbsd.org
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
# plus sign is for localized (i.e. Japanese) version
LIB_DEPENDS+= ttf.1::print/freetype \
png.1::graphics/png
CONFIGURE_STYLE=imake gnu
CONFIGURE_ARGS= --disable-vflib
post-configure:
@cd ${WRKSRC}/contrib/xmindpath && \
./configure --prefix='$${DESTDIR}${PREFIX}'
post-build:
@cd ${WRKSRC}/contrib/xmindpath && ${MAKE_PROGRAM}
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.jpg dad.eps dad.jpg dns.mgp \
default.mgp gradation.mgp mgp-old1.jpg mgp-old2.jpg \
mgp-old3.jpg mgp1.jpg mgp2.jpg mgp3.jpg sample.mgp \
tutorial.mgp v6.mgp v6header.eps v6header.jpg
SAMPLES= README README.jp cloud.jpg dad.eps dad.jpg default.mgp \
dns-jp.mgp embed-jp.mgp embed.mgp gradation-jp.mgp \
gradation.mgp mgp-old1.jpg mgp-old2.jpg mgp-old3.jpg \
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
# NOTE: there are some discussions/twists in gzip'ing xmindpath.1.
post-install:
@cd ${WRKSRC}/contrib/xmindpath && ${MAKE_PROGRAM} install
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mgp/sample
@for i in $(DOCS); do \
${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/mgp; \
done
@for i in $(SAMPLES); do \
${INSTALL_DATA} ${WRKSRC}/sample/$$i ${PREFIX}/share/doc/mgp/sample; \
done
.include <bsd.port.mk>