2615325c03
* Fix build error with xft2 option and graphics/freetype-lib package is installed. Shoud be fix PR pkg/32656. * Refering PR pkg/38552 adpot some of patches. * Move PKG_OPTIONS related item to options.mk. * More pkgsrc clean up. * Try to reduce compile warnings. What's new in 1.13a? * m17n library support enhancement * MacOS support enhancement * add new environment variable MGPRC for the path of the .mgprc file. * add "psfont" directive to specify the font used by mgp2ps * add -g option for mgp2ps to allow users to adjust line distanc * add -zoomonclk option for newimage * allow to handle gif format images by default * many bug fixes Dedication Magicpoint 1.13a is dedicated to the memory of Dr. Jun-ichiro "itojun" Hagino, who was known for his enormous contribution to the Internet and the Open Source Software community. He was the developer of Magicpoint from its infancy. Magicpoint could not exist without his devoted work. What's new in 1.12a? * add %tsystem directive which might be more stable than %xsystem * add -rotate option for newimage * allow to use non-ASCI filename in slides (use -U to enable this feature) * many bug fixes
78 lines
2.4 KiB
Makefile
78 lines
2.4 KiB
Makefile
# $NetBSD: Makefile,v 1.62 2008/09/10 13:32:47 taca Exp $
|
|
|
|
DISTNAME= magicpoint-1.13a
|
|
CATEGORIES= x11 graphics
|
|
MASTER_SITES= ftp://sh.wide.ad.jp/WIDE/free-ware/mgp/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://member.wide.ad.jp/wg/mgp/
|
|
COMMENT= X11 based presentation tool
|
|
|
|
CONFLICTS= mgp-[0-9]*
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_IMAKE= yes
|
|
USE_LANGUAGES+= c99
|
|
USE_TOOLS+= perl
|
|
USE_TOOLS+= pkg-config
|
|
|
|
CONFIGURE_ARGS+= --enable-freetype-charset16
|
|
CONFIGURE_ARGS+= --enable-locale
|
|
CONFIGURE_ARGS+= --enable-gif
|
|
CONFIGURE_ARGS+= --with-searchpath=${BUILDLINK_DIR:Q}
|
|
CONFIGURE_ENV+= BUILDLINK_DIR=${BUILDLINK_DIR:Q}
|
|
CONFIGURE_ENV+= mgp_cv_path_perl=${TOOLS_PERL5:Q}
|
|
|
|
DOCDIR= share/doc/mgp
|
|
EGDIR= share/examples/mgp
|
|
INSTALLATION_DIRS+= ${DOCDIR} ${EGDIR}
|
|
|
|
DOCS= COPYRIGHT COPYRIGHT.jp FAQ README README.fonts \
|
|
README.fonts.jp README.lang SYNTAX USAGE USAGE.jp
|
|
EXAMPLES= README README.jp cloud.jpg dad.eps dad.jpg \
|
|
default.mgp embed-jp.mgp embed.mgp gradation-jp.mgp \
|
|
gradation.mgp m17n-lib.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-xft.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
|
|
|
|
# We need to perform the steps normally done by ``xmkmf -a'' since some
|
|
# files need to be created before ``make depend''.
|
|
#
|
|
XMKMF= ${XMKMF_CMD} ${XMKMF_FLAGS}
|
|
|
|
MGP_PRE_STAGE= ctlwords.h grammar.c scanner.c tokdefs.h \
|
|
Makefiles includes depend
|
|
|
|
.include "options.mk"
|
|
|
|
SUBST_CLASSES+= conf
|
|
SUBST_FILES.conf+= sample/default.mgp
|
|
SUBST_SED.conf+= -e 's|@MGP_TFONT@|${MGP_TFONT}|g'
|
|
SUBST_SED.conf+= -e 's|@MGP_VFONT@|${MGP_VFONT}|g'
|
|
SUBST_SED.conf+= -e 's|@MGP_XFONT@|${MGP_XFONT}|g'
|
|
SUBST_STAGE.conf= post-configure
|
|
|
|
post-configure:
|
|
.for s in ${MGP_PRE_STAGE}
|
|
cd ${WRKSRC}; \
|
|
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} ${s}
|
|
.endfor
|
|
|
|
post-install:
|
|
.for f in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${DOCDIR}
|
|
.endfor
|
|
.for f in ${EXAMPLES}
|
|
${INSTALL_DATA} ${WRKSRC}/sample/${f} ${DESTDIR}${PREFIX}/${EGDIR}
|
|
.endfor
|
|
|
|
.include "../../graphics/libungif/buildlink3.mk"
|
|
.include "../../graphics/mng/buildlink3.mk"
|
|
.include "../../graphics/netpbm/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
.include "../../x11/libXmu/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|