2015-11-25 13:53:09 +01:00
|
|
|
# $NetBSD: Makefile,v 1.20 2015/11/25 12:53:09 jperkin Exp $
|
2009-02-23 20:32:01 +01:00
|
|
|
|
2015-06-14 14:50:00 +02:00
|
|
|
DISTNAME= texlive-20150521-source
|
Update xdvik to 22.87
+ ft.c: Avoid a compiler warning.
+ font-open.c: Add support for .runlibfileifexists in gs Fontmap file;
tweak some messages.
+ dvi-draw.c: Fixed bug #388 ("currinf.set_char_p is not a registered
routine!")
+ gui/message-window.c, gui/message-window.h, hypertex.c: Avoid compiler
warnings.
+ configure.ac, events.c, main.c, xdvi.c, xdvi.h, mksedscript,
xdvi.1.in, m4/xdvi-xinput-2-1.m4: Add support for high-resolution
scrolling via XInput 2.1 (touchpads only).
+ gui/pagesel.c, events.c, events.h, xdvi.c: Fix wheel-mouse scrolling
in the page selector widget when using the Motif toolkit.
+ gui/print-dialog.c, gui/xm_prefs_helpers.c: Eliminate compiler
warnings.
+ xdvi.1.in: Fix the alphabetization of the options listing.
+ pulled in libraries from TeX Live repository and ran reautoconf
2015-04-25 13:42:27 +02:00
|
|
|
PKGNAME= xdvik-22.87
|
2015-10-14 22:17:24 +02:00
|
|
|
PKGREVISION= 2
|
2009-02-23 20:32:01 +01:00
|
|
|
CATEGORIES= print
|
2015-06-14 14:50:00 +02:00
|
|
|
MASTER_SITES= ftp://tug.org/historic/systems/texlive/2015/
|
2010-01-16 04:56:07 +01:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
2009-02-23 20:32:01 +01:00
|
|
|
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
|
|
HOMEPAGE= http://xdvi.sourceforge.net/
|
|
|
|
COMMENT= Previewer for DVI files
|
|
|
|
|
|
|
|
CONFLICTS+= teTeX-bin<3.0nb25
|
2013-11-17 17:56:47 +01:00
|
|
|
BUILD_DEPENDS+= tex-texconfig-[0-9]*:../../print/tex-texconfig
|
2010-01-16 04:56:07 +01:00
|
|
|
BUILD_DEPENDS+= tex-xdvi-[0-9]*:../../print/tex-xdvi
|
|
|
|
DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk
|
2015-06-14 14:50:00 +02:00
|
|
|
DEPENDS+= kpathsea>=6.2.1:../../print/kpathsea
|
2010-01-16 04:56:07 +01:00
|
|
|
|
|
|
|
EXTRACT_ELEMENTS= ${DISTNAME}/build-aux \
|
|
|
|
${DISTNAME}/texk/xdvik
|
2009-02-23 20:32:01 +01:00
|
|
|
|
2013-04-24 12:10:13 +02:00
|
|
|
USE_TOOLS+= gs:run
|
|
|
|
|
2009-12-24 18:30:01 +01:00
|
|
|
MAKE_JOBS_SAFE= no
|
2009-02-23 20:32:01 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
2015-06-14 14:50:00 +02:00
|
|
|
USE_TOOLS+= pkg-config
|
2009-02-23 20:32:01 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/texk/xdvik
|
|
|
|
|
2015-02-24 22:44:35 +01:00
|
|
|
CONFIG_GUESS_OVERRIDE+= ${WRKDIR}/${DISTNAME}/build-aux/config.guess
|
|
|
|
CONFIG_SUB_OVERRIDE+= ${WRKDIR}/${DISTNAME}/build-aux/config.sub
|
|
|
|
|
2013-11-17 17:56:47 +01:00
|
|
|
CONFIGURE_ARGS+= --with-system-freetype2
|
2015-06-14 14:50:00 +02:00
|
|
|
CONFIGURE_ARGS+= --with-system-kpathsea
|
2013-11-17 17:56:47 +01:00
|
|
|
CONFIGURE_ARGS+= --with-system-zlib \
|
|
|
|
--with-zlib-includes=${BUILDLINK_PREFIX.zlib}/include \
|
|
|
|
--with-zlib-libdir=${BUILDLINK_PREFIX.zlib}/lib
|
2010-01-16 04:56:07 +01:00
|
|
|
CONFIGURE_ARGS+= --with-xdvi-x-toolkit=xaw
|
|
|
|
CONFIGURE_ARGS+= --with-default-dvips-path=${LOCALBASE}/bin/dvips
|
|
|
|
CONFIGURE_ARGS+= --with-default-ps2pdf-path=${LOCALBASE}/bin/ps2pdf
|
2009-02-23 20:32:01 +01:00
|
|
|
|
|
|
|
PKG_SYSCONFSUBDIR= texmf
|
|
|
|
|
|
|
|
MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdvi
|
2013-11-17 17:56:47 +01:00
|
|
|
CONF_FILES= ${PREFIX}/share/examples/xdvik/XDvi \
|
2009-02-23 20:32:01 +01:00
|
|
|
${PKG_SYSCONFDIR}/xdvi/XDvi
|
|
|
|
|
|
|
|
BUILD_DEFS+= PAPERSIZE
|
|
|
|
|
2013-11-17 17:56:47 +01:00
|
|
|
INSTALLATION_DIRS+= share/examples/xdvik
|
2009-02-23 20:32:01 +01:00
|
|
|
|
|
|
|
TEX_TEXMF_DIRS+= ${PKG_SYSCONFDIR}
|
|
|
|
TEX_TEXMF_DIRS+= ${PREFIX}/share/texmf-dist
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${PAPERSIZE} == "Letter"
|
|
|
|
XDVI_PAPERSIZE= us
|
|
|
|
.else
|
|
|
|
XDVI_PAPERSIZE= a4
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
2013-11-17 17:56:47 +01:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
2009-02-23 20:32:01 +01:00
|
|
|
.include "../../print/kpathsea/buildlink3.mk"
|
|
|
|
.include "../../print/kpathsea/texmf.mk"
|
Update xdvik to 22.87
+ ft.c: Avoid a compiler warning.
+ font-open.c: Add support for .runlibfileifexists in gs Fontmap file;
tweak some messages.
+ dvi-draw.c: Fixed bug #388 ("currinf.set_char_p is not a registered
routine!")
+ gui/message-window.c, gui/message-window.h, hypertex.c: Avoid compiler
warnings.
+ configure.ac, events.c, main.c, xdvi.c, xdvi.h, mksedscript,
xdvi.1.in, m4/xdvi-xinput-2-1.m4: Add support for high-resolution
scrolling via XInput 2.1 (touchpads only).
+ gui/pagesel.c, events.c, events.h, xdvi.c: Fix wheel-mouse scrolling
in the page selector widget when using the Motif toolkit.
+ gui/print-dialog.c, gui/xm_prefs_helpers.c: Eliminate compiler
warnings.
+ xdvi.1.in: Fix the alphabetization of the options listing.
+ pulled in libraries from TeX Live repository and ran reautoconf
2015-04-25 13:42:27 +02:00
|
|
|
.include "../../x11/libXi/buildlink3.mk"
|
2009-02-23 20:32:01 +01:00
|
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
|
|
|
.include "../../mk/xaw.buildlink3.mk"
|
|
|
|
|
2010-01-16 04:56:07 +01:00
|
|
|
post-build:
|
2014-07-18 06:49:42 +02:00
|
|
|
${RM} ${WRKSRC}/texmf/XDvi
|
2013-11-17 17:56:47 +01:00
|
|
|
${MKDIR} -p ${WRKSRC}/texmf/xdvi
|
|
|
|
${CP} ${LOCALBASE}/share/texmf-dist/xdvi/XDvi ${WRKSRC}/texmf/xdvi
|
2010-01-16 04:56:07 +01:00
|
|
|
env TEXMFCONFIG=${LOCALBASE}/share/texmf \
|
2009-03-01 19:13:50 +01:00
|
|
|
TFC_TEXMFCONFIG=${WRKSRC}/texmf \
|
2010-01-16 04:56:07 +01:00
|
|
|
${LOCALBASE}/bin/texconfig xdvi paper ${XDVI_PAPERSIZE}
|
2009-02-23 20:32:01 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/texmf/xdvi/XDvi \
|
2013-11-17 17:56:47 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/examples/xdvik
|
2009-02-23 20:32:01 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|