10ce8d7590
* Support for Xft2 + fontconfig. If you are not familiar with these words, please see FAQ and README.xft2 for more information. * Support for new directive %tab 0 which can be used to apply a list of directives to lines that start with a non-tab character. * For security reasons, we have changed mgp so that directives that fork a process are not processed by default. The -U option must be specified in order to process such directives. * Introduced %opaque directive. Please see SYNTAX for detailed information. * Support for iso8859-2 encoding for mgp2ps. * Introduced -X option for mgp2ps to suppress the use of the specified rendering engine. * Introduced escape char '\' to display lines that start with '#'. * Many bug fixes.
55 lines
1.8 KiB
Makefile
55 lines
1.8 KiB
Makefile
# $NetBSD: Makefile,v 1.35 2003/09/11 16:09:40 jmmv Exp $
|
|
|
|
DISTNAME= magicpoint-1.10a
|
|
CATEGORIES= x11 graphics
|
|
MASTER_SITES= ftp://ftp.mew.org/pub/MagicPoint/
|
|
|
|
MAINTAINER= itojun@itojun.org
|
|
HOMEPAGE= http://www.Mew.org/mgp/
|
|
COMMENT= X11 based presentation tool
|
|
|
|
CONFLICTS= mgp-[0-9]*
|
|
|
|
USE_BUILDLINK2= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_IMAKE= yes
|
|
USE_PERL5= build
|
|
|
|
CONFIGURE_ARGS+= --enable-freetype-charset16
|
|
CONFIGURE_ARGS+= --disable-vflib
|
|
CONFIGURE_ARGS+= --enable-locale
|
|
CONFIGURE_ARGS+= --enable-gif
|
|
|
|
# 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}
|
|
|
|
post-configure:
|
|
cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ctlwords.h
|
|
cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} grammar.c
|
|
cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} scanner.c
|
|
cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} tokdefs.h
|
|
cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} Makefiles
|
|
cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} includes
|
|
cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} depend
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mgp
|
|
cd ${WRKSRC}; \
|
|
${INSTALL_DATA} COPYRIGHT COPYRIGHT.jp FAQ \
|
|
README README.fonts README.fonts.jp README.lang \
|
|
SYNTAX USAGE USAGE.jp ${PREFIX}/share/doc/mgp
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mgp
|
|
cd ${WRKSRC}/sample; \
|
|
${INSTALL_DATA} README* *.jpg *.eps *.mgp *.xbm mgprc-sample \
|
|
${PREFIX}/share/examples/mgp
|
|
|
|
.include "../../fonts/Xft2/buildlink2.mk"
|
|
.include "../../fonts/fontconfig/buildlink2.mk"
|
|
.include "../../graphics/freetype2/buildlink2.mk"
|
|
.include "../../graphics/libungif/buildlink2.mk"
|
|
.include "../../graphics/mng/buildlink2.mk"
|
|
.include "../../graphics/netpbm/buildlink2.mk"
|
|
.include "../../graphics/png/buildlink2.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|