diff options
author | minskim <minskim@pkgsrc.org> | 2009-02-23 19:32:01 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2009-02-23 19:32:01 +0000 |
commit | 4ee9ba3829654e791f082f96ba5091eb914384e5 (patch) | |
tree | b554eb4720580a4073e5bdf8af72f468184605e0 /print/xdvik/Makefile | |
parent | 27a3488310d9ab2b0554259396c75c20c8f33672 (diff) | |
download | pkgsrc-4ee9ba3829654e791f082f96ba5091eb914384e5.tar.gz |
Import xdvik-22.84.14 as print/xdvik.
Xdvik, the kpathsea version of xdvi, is a previewer for DVI files
produced e.g. by the TeX or troff typesetting systems.
Diffstat (limited to 'print/xdvik/Makefile')
-rw-r--r-- | print/xdvik/Makefile | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/print/xdvik/Makefile b/print/xdvik/Makefile new file mode 100644 index 00000000000..256d5af0e78 --- /dev/null +++ b/print/xdvik/Makefile @@ -0,0 +1,70 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/02/23 19:32:01 minskim Exp $ + +DISTNAME= xdvik-22.84.14 +CATEGORIES= print +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xdvi/} + +MAINTAINER= minskim@NetBSD.org +HOMEPAGE= http://xdvi.sourceforge.net/ +COMMENT= Previewer for DVI files + +CONFLICTS+= teTeX-bin<3.0nb25 +DEPENDS+= tex-bin-xdvi-[0-9]*:../../print/tex-bin-xdvi + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +WRKSRC= ${WRKDIR}/${DISTNAME}/texk/xdvik + +FIND_PREFIX:= TETEX_PREFIX=texlive-tetex +.include "../../mk/find-prefix.mk" + +CONFIGURE_ARGS+= --with-system-kpathsea --with-system-t1lib \ + --with-xdvi-x-toolkit=xaw + +MAKE_FLAGS+= LIBTOOL=${LIBTOOL:Q} \ + kpathsea_parent=${BUILDLINK_PREFIX.kpathsea}/include + +INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \ + mandir=${DESTDIR}${PREFIX}/${PKGMANDIR} + +PKG_SYSCONFSUBDIR= texmf + +MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdvi +CONF_FILES= ${PREFIX}/share/texmf-dist/xdvi/XDvi \ + ${PKG_SYSCONFDIR}/xdvi/XDvi + +BUILD_DEFS+= PAPERSIZE + +INSTALLATION_DIRS+= share/texmf-dist/xdvi + +TEX_TEXMF_DIRS+= ${PKG_SYSCONFDIR} +TEX_TEXMF_DIRS+= ${PREFIX}/share/texmf +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" +.include "../../fonts/t1lib/buildlink3.mk" +.include "../../print/kpathsea/buildlink3.mk" +.include "../../print/kpathsea/texmf.mk" +.include "../../x11/libXp/buildlink3.mk" +.include "../../x11/libXpm/buildlink3.mk" +.include "../../mk/xaw.buildlink3.mk" + +post-build: + env TFC_TEXMFCONFIG=${WRKSRC}/texmf \ + ${TETEX_PREFIX}/bin/texconfig xdvi paper ${XDVI_PAPERSIZE} + +post-install: + ${INSTALL_DATA} ${WRKSRC}/texmf/xdvi/XDvi \ + ${DESTDIR}${PREFIX}/share/texmf-dist/xdvi + +.include "../../mk/bsd.pkg.mk" |