b832da1849
A big Thank You to the original contributors of these ports: * Aaron Dalton <aaron@FreeBSD.org> * Adam Weinberger <adam@vectors.cx> * Adam Weinberger <adamw@FreeBSD.org> * Akinori MUSHA aka knu <knu@idaemons.org> * Alan E <alane@FreeBSD.org> * Alex Semenyaka <alex@rinet.ru> * Alex Stangl <alex@stangl.us> * Alexander Logvinov <avl@FreeBSD.org> * Alexander Logvinov <ports@logvinov.com> * Alexander Nusov <alexander.nusov@nfvexpress.com> * Alexander Timoshenko <gonzo@univ.kiev.ua> * Alexander Vereeken <Alexander88207@protonmail.com> * Alexey Dokuchaev <danfe@FreeBSD.org> * Alexey Dokuchaev <danfe@regency.nsu.ru> * Alexey Zelkin <phantom@FreeBSD.org> * Andreas Kohout <shanee@rabbit.augusta.de> * Andrew Pantyukhin <infofarmer@FreeBSD.org> * Andrew Stuart <elitetek@tekrealm.net> * Andrey Simonenko * Andrey Zakhvatov * Andy Kosela <akosela@andykosela.com> * Andy Pavlo <amp0928@rit.edu> * Anton Berezin <tobez@FreeBSD.org> * Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>) * Attila Nagy <bra@fsn.hu> * Bjorn Lindstrom <bkhl@elektrubadur.se> * Brendan Molloy <brendan+freebsd@bbqsrc.net> * Brent J. Nordquist <bjn@visi.com> * Cheng-Lung Sung <clsung@FreeBSD.org> * Chris Costello <chris@FreeBSD.org> * Chris D. Faulhaber <jedgar@fxp.org> * Chris Piazza <cpiazza@FreeBSD.org> * Chris Stuart <firewolf@lightningfire.net> * Conrad Sabatier <conrads@home.com> * Dan Moschuk <dan@FreeBSD.org> * Daniel B. Hemmerich <dan@spot.org> * David Johnson <david@usermode.org> * David O'Brien (obrien@cs.ucdavis.edu) * Dean Hollister <dean@odyssey.apana.org.au> * Denis Shaposhnikov <dsh@vlink.ru> * Dereckson <dereckson@gmail.com> * Dima Dorfman <dima@unixfreak.org> * Dima Sivachenko * Dima Sivachenko <dima@chg.ru> * Dmitry Morozovsky <marck@FreeBSD.org> * Dmitry Sivachenko <dima@Chg.RU> * Edwin Groothuis <edwin@mavetju.org> * Emanuel Haupt <ehaupt@FreeBSD.org> * Emanuel Haupt <ehaupt@critical.ch> * Eric Turgeon <ericbsd@FreeBSD.org> * Evaldas Auryla <ea@zaib.as> * Filippo Natali <filippo@widestore.net> * Frank Steinborn <steinex@nognu.de> * Frederic Culot <culot@FreeBSD.org> * G. Adam Stanislav <adam@whizkidtech.net> * Garrett Wollman <wollman@FreeBSD.org> * Gea-Suan Lin <gslin@gslin.org> * Greg Lehey <grog@FreeBSD.org> * Guangyuan Yang <ygy@FreeBSD.org> * Gustau Perez i Querol <gustau.perez@gmail.com> * Harald Schmalzbauer <freebsd@omnilan.de> * Harald Wille <harald.wille@students.jku.at> * Hye-Shik Chang <perky@python.or.kr> * Igor Pokrovsky <ip@unixway.org> * J Han <hjh@best.com> * James Earl <jdearl@telus.net> * James FitzGibbon <jfitz@FreeBSD.org> * James Howard <howardj@wam.umd.edu> * Jeremy Shaffner <jeremy@external.org> * Jim Mock <jim@FreeBSD.org> * Joao Carlos Mendes Luis <jonny@jonny.eng.br> * Joe Marcus Clarke <marcus@FreeBSD.org> * Johann Visagie <wjv@FreeBSD.org> * John Marino <marino@FreeBSD.org> * Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> * Jose Rodriguez <king@v2project.com> * Julian Stacey <jhs@FreeBSD.org> * KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp> * Kelly Yancey <kbyanc@posi.net> * Kim Scarborough <user@unknown.nu> * Kimura Fuyuki <fuyuki@nigredo.org> * Kirill Ponomarew <ponomarew@oberon.net> * Koop Mast <kwm@FreeBSD.org> * Kubilay Kocak <koobs@FreeBSD.org> * Lars Engels <lars.engels@0x20.net> * Leland Wang <llwang@infor.org> * Machiel Mastenbroek <machiel_mastenbroek@hotmail.com> * Maksym Sobolyev <sobomax@pbxpress.it> * Marc Fonvieille <blackend@FreeBSD.org> * Marcus Alves Grando <mnag@FreeBSD.org> * Marie Loise Nolden <loise@kde.org> * Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> * Martin Blapp <mb@imp.ch> * Martin Neubauer <m.ne@gmx.net> * Martin Wilke <miwi@FreeBSD.org> * Mathieu Arnold <m@absolight.net> * Matt Emmerton <matt@gsicomp.on.ca> * Matt Mills <matt_mills@btopenworld.com> * Matthew Seaman * Matthias Andree <matthias.andree@gmx.de> * Max Khon <fjoe@FreeBSD.org> * Maxim Khon <fjoe@FreeBSD.org> * Maxim Sobolev <sobomax@FreeBSD.org> * Michael A. Kohn <mike@mikekohn.net> * Michael Elbel (me) * Michael Haro <mharo@FreeBSD.org> * Michael Johnson <ahze@FreeBSD.org> * Michael L. Hostbaek (mich@freebsdcluster.org) * Michael L. Hostbaek <mich@freebsdcluster.org> * Mikael Urankar <mikael.urankar@gmail.com> * Mike Smith <msmith@FreeBSD.org> * Miklos Niedermayer <mico@bsd.hu> * NECDET COKYAZICI <cokyazici@yahoo.co.uk> * Naito Yuichiro <naito.yuichiro@gmail.com> * Neil Blakey-Milner <nbm@rucus.ru.ac.za> * Niek Bergboer <niek@bergboer.net> * Oleh Hushchenkov <gor@clogic.com.ua> * Oliver Lehmann <oliver@FreeBSD.org> * Patrick Li <pat@databits.net> * Patrick Seal <patseal@hyperhost.net> * Pav Lucistnik <pav@oook.cz> * Pete Fritchman <petef@databits.net> * Peter Pentchev <roam@FreeBSD.org> * Philip Paeps <philip@FreeBSD.org> * Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Rainer Hurling <rhurlin@gwdg.de> * Ralf S. Engelschall <rse@engelschall.com> * Robert Withrow <witr@rwwa.com> * Roman Bogorodskiy <novel@FreeBSD.org> * Rong-En Fan <rafan@FreeBSD.org> * Ryan Steinmetz <zi@FreeBSD.org> * Sander Vesik <sander@haldjas.folklore.ee> * Scot W. Hetzel * Seamus Venasse <svenasse@polaris.ca> * Sebastien gioria <gioria@FreeBSD.org> * Serge Gagnon <gagnon__s@videotron.ca> * Sergei Kolobov <sergei@kolobov.com> * Sergey Skvortsov <skv@protey.ru> * SimaMoto,RyoTa <liangtai.s4@gmail.com> * Simon 'corecode' Schubert <corecode@corecode.ath.cx> * Slaven Rezic <slaven@rezic.de> * Stefan Walter <swalter@lettermax.de> * Stephen Farrell <steve@farrell.org> * Stephen Hurd <shurd@FreeBSD.org> * Steve Wills <swills@FreeBSD.org> * Steven Enderle <enderle@mdn.de> * Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> * TAKATSU Tomonari <tota@FreeBSD.org> * Thierry Thomas (<thierry@FreeBSD.org>) * Thomas Gellekum <tg@FreeBSD.org> * Timothy Bourke <timbob@bigpond.com> * Ting-Wei Lan <lantw44@gmail.com> * Tobias Roth <ports@fsck.ch> * Tom Rhodes <trhodes@FreeBSD.org> * Tomoyuki Sakurai <cherry@trombik.org> * Torsten Blum <torstenb@FreeBSD.org> * Vladimir Kondratyev <wulf@FreeBSD.org> * Wei-chun Chao * Wen Heping <wen@FreeBSD.org> * Willem van Engen <wvengen@stack.nl> * Wojciech A. Koszek <wkoszek@FreeBSD.org> * Xavier Beaudouin <kiwi@oav.net> * Yen-Ming Lee <leeym@FreeBSD.org> * Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw> * Ying-Chieh Liao <ijliao@FreeBSD.org> * Yoichi NAKAYAMA <yoichi@FreeBSD.org> * Yonatan@Xpert.com * Yukihiro Nakai <nakai@mlab.t.u-tokyo.ac.jp> * Yuri Victorovich <yuri@rawbw.com> * Zach Thompson <hideo@lastamericanempire.com> * Zeus Panchenko <zeus@gnu.org.ua> * alfred@FreeBSD.org * bmc@WillsCreek.COM * chinsan * cracauer@cons.org "Martin Cracauer" * dbaker * dd * dikshie <dikshie@lapi.itb.ac.id> * djp * globalpanic@gmx.net * gmarco@giovannelli.it * gpalmer * hrs, lesi * igor@zynaps.ru * ijliao * itojun@itojun.org * jmacd * joerg * jsellens * kaz * king@v2project.com * marcus * marcus@FreeBSD.org * markm * milki <milki@rescomp.berkeley.edu> * mnag * moeding * mp39590@gmail.com * mstowe@chicago.us.mensa.org * olgeni@FreeBSD.org * osa * pfg * ports@c0decafe.net <ports@c0decafe.net> * roam@FreeBSD.org * roam@orbitel.bg * sahne * sanpei@FreeBSD.org * sec@42.org * sf * shanee@augusta.de * shipley@dis.org * stolz@i2.informatik.rwth-aachen.de * sumikawa@FreeBSD.org * vanilla * wosch With hat: portmgr
96 lines
2.9 KiB
Makefile
96 lines
2.9 KiB
Makefile
PORTNAME= magicpoint
|
|
PORTVERSION= 1.13a
|
|
PORTREVISION= 19
|
|
CATEGORIES?= misc
|
|
MASTER_SITES= ftp://sh.wide.ad.jp/WIDE/free-ware/mgp/
|
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
|
COMMENT= X11-based presentation tool
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
LIB_DEPENDS+= libpng.so:graphics/png \
|
|
libmng.so:graphics/libmng
|
|
RUN_DEPENDS+= pnmscale:graphics/netpbm
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
USES= imake:env perl5 pkgconfig xorg
|
|
USE_PERL5= run
|
|
USE_XORG= x11 xext xmu xt sm ice xi xtst
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --disable-vflib --enable-locale --disable-freetype
|
|
CONFIGURE_ENV= mgp_cv_path_perl=${PERL}
|
|
CPPFLAGS+= -I..
|
|
LATE_INSTALL_ARGS= install.man
|
|
|
|
PORTDOCS= ${DOCS} sample emacs-lisp scripts
|
|
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
|
|
EMACS_LISPS_MGP=COPYING README mgp.el mgp.sty sample.tex
|
|
SAMPLE_SCRIPTS= eqn2eps.sh tex2eps.sh mgp2html.pl mgp2latex.pl
|
|
|
|
OPTIONS_DEFINE= XFT GIF DOCS
|
|
OPTIONS_DEFAULT=XFT GIF
|
|
NO_OPTIONS_SORT=yes
|
|
|
|
XFT_USES= iconv
|
|
XFT_USE= XORG=xft
|
|
XFT_CONFIGURE_ENABLE= xft2
|
|
XFT_CONFIGURE_ON= --enable-freetype-charset16
|
|
GIF_CONFIGURE_ENABLE= gif
|
|
GIF_LIB_DEPENDS= libgif.so:graphics/giflib
|
|
GIF_CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|-lungif|-lgif|' \
|
|
-e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
|
|
${WRKSRC}/configure
|
|
|
|
post-configure:
|
|
cd ${CONFIGURE_WRKSRC} && \
|
|
${SETENV} ${MAKE_ENV} ${XMKMF} ${XMKMF_ARGS}
|
|
cd ${WRKSRC}/contrib/xmindpath && \
|
|
${SH} ${CONFIGURE_SCRIPT} --prefix=${PREFIX}
|
|
|
|
post-build:
|
|
cd ${WRKSRC}/contrib/xmindpath && \
|
|
${MAKE_ENV} ${MAKE} ${MAKE_ARGS}
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/contrib/xmindpath/xmindpath.1 \
|
|
${STAGEDIR}${PREFIX}/man/man1/
|
|
${INSTALL} ${WRKSRC}/contrib/xmindpath/xmindpath \
|
|
${STAGEDIR}${PREFIX}/bin/
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xmindpath
|
|
|
|
post-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && \
|
|
${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}/
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/sample
|
|
cd ${WRKSRC}/sample && \
|
|
${INSTALL_DATA} ${SAMPLES} ${STAGEDIR}${DOCSDIR}/sample/
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/emacs-lisp
|
|
cd ${WRKSRC}/contrib && \
|
|
${INSTALL_DATA} ${EMACS_LISPS} \
|
|
${STAGEDIR}${DOCSDIR}/emacs-lisp/
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/emacs-lisp/mgp-el
|
|
cd ${WRKSRC}/contrib/mgp-el && \
|
|
${INSTALL_DATA} ${EMACS_LISPS_MGP} \
|
|
${STAGEDIR}${DOCSDIR}/emacs-lisp/mgp-el/
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/scripts
|
|
cd ${WRKSRC}/contrib && \
|
|
${INSTALL_SCRIPT} ${SAMPLE_SCRIPTS} \
|
|
${STAGEDIR}${DOCSDIR}/scripts/
|
|
|
|
.include <bsd.port.mk>
|