openbsd-ports/misc/magicpoint/Makefile

87 lines
2.6 KiB
Makefile
Raw Normal View History

2010-11-19 02:23:05 -05:00
# $OpenBSD: Makefile,v 1.53 2010/11/19 07:23:12 espie Exp $
COMMENT= X11-based presentation tool
DISTNAME= magicpoint-1.09a
# hack
2010-11-05 04:24:49 -04:00
PKGNAME= magicpoint-1.11b
REVISION= 9
CATEGORIES= misc productivity
2005-11-01 16:33:56 -05:00
MASTER_SITES= ftp://sh.wide.ad.jp/WIDE/free-ware/mgp/
HOMEPAGE= http://member.wide.ad.jp/wg/mgp/
2003-09-02 15:28:11 -04:00
PERMIT_PACKAGE_CDROM= Yes
2000-03-05 13:30:21 -05:00
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2007-11-14 04:43:39 -05:00
WANTLIB= c ICE jpeg lcms m SM util \
Xt Xau Xdmcp Xmu Xext X11 Xtst z \
2010-11-05 04:24:49 -04:00
pthread-stubs xcb ttf png mng ungif
2000-02-12 01:29:49 -05:00
# plus sign is for localized (i.e. Japanese) version
2010-11-19 02:23:05 -05:00
LIB_DEPENDS+= print/freetype \
graphics/png \
graphics/libmng \
graphics/libungif
RUN_DEPENDS+= graphics/netpbm \
print/ghostscript/gnu-fonts
2004-08-10 05:48:17 -04:00
MODULES= devel/gettext
2010-10-18 16:52:05 -04:00
USE_GROFF = Yes
AUTOCONF_VERSION=2.13
CONFIGURE_STYLE=autoconf gnu imake no-autoheader
CONFIGURE_ARGS= --disable-vflib
CONFIGURE_ARGS+= --enable-gif
CONFIGURE_ARGS+= --enable-freetype-charset16
NO_REGRESS= Yes
post-configure:
@cd ${WRKSRC}/contrib/xmindpath && \
./configure --prefix='$${DESTDIR}${PREFIX}'
post-build:
@cd ${WRKSRC}/contrib/xmindpath && ${MAKE_PROGRAM}
@cd ${WRKSRC}/contrib/xwintoppm && ${XMKMF}
DOCS= COPYRIGHT COPYRIGHT.jp FAQ README README.fonts README.fonts.jp \
README.lang SYNTAX TODO.jp USAGE USAGE.jp
2000-06-25 23:35:39 -04:00
SAMPLES= README README.jp cloud.jpg dad.eps dad.jpg default.mgp \
embed-jp.mgp embed.mgp gradation-jp.mgp \
2000-06-25 23:35:39 -04:00
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 \
2000-06-25 23:35:39 -04:00
v6-jp.mgp v6.mgp v6header.eps v6header.jpg
EMACS= README mgp.el mgp.sty sample.tex ../mgp-mode.el
MAKE_FLAGS+= CDEBUGFLAGS="${CFLAGS}"
# 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
${INSTALL_DATA_DIR} ${PREFIX}/share/mgp/emacs
@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
@for i in $(EMACS); do \
${INSTALL_DATA} ${WRKSRC}/contrib/mgp-el/$$i \
${PREFIX}/share/mgp/emacs; \
done
${INSTALL_SCRIPT} ${WRKSRC}/contrib/eqn2eps.sh \
${PREFIX}/bin/eqn2eps
${INSTALL_SCRIPT} ${WRKSRC}/contrib/mgp2html.pl \
${PREFIX}/bin/mgp2html
${INSTALL_SCRIPT} ${WRKSRC}/contrib/mgp2latex.pl \
${PREFIX}/bin/mgp2latex
${INSTALL_SCRIPT} ${WRKSRC}/contrib/tex2eps.sh \
${PREFIX}/bin/tex2eps
.include <bsd.port.mk>