diff options
author | hrs <hrs@FreeBSD.org> | 2004-05-13 00:37:07 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2004-05-13 00:37:07 +0800 |
commit | b91d520adbf3cda908f3d5200b80946b1b730903 (patch) | |
tree | 984ae819b4ea636cd1f54bfba25546a1236251b9 /print/dvipsk-tetex | |
parent | 5719794c8feef91331f6a89c3f4e528b8853dfcd (diff) | |
download | freebsd-ports-gnome-b91d520adbf3cda908f3d5200b80946b1b730903.tar.gz freebsd-ports-gnome-b91d520adbf3cda908f3d5200b80946b1b730903.tar.zst freebsd-ports-gnome-b91d520adbf3cda908f3d5200b80946b1b730903.zip |
Add dvipsk-tetex, a port for the dvipsk utility
in teTeX distribution.
Approved by: linimon (mentor)
Diffstat (limited to 'print/dvipsk-tetex')
-rw-r--r-- | print/dvipsk-tetex/Makefile | 60 | ||||
-rw-r--r-- | print/dvipsk-tetex/distinfo | 2 | ||||
-rw-r--r-- | print/dvipsk-tetex/pkg-descr | 6 | ||||
-rw-r--r-- | print/dvipsk-tetex/pkg-plist | 13 |
4 files changed, 81 insertions, 0 deletions
diff --git a/print/dvipsk-tetex/Makefile b/print/dvipsk-tetex/Makefile new file mode 100644 index 000000000000..78a1259d0a33 --- /dev/null +++ b/print/dvipsk-tetex/Makefile @@ -0,0 +1,60 @@ +# New ports collection makefile for: dvipsk-tetex +# Date created: 5 May 2004 +# Whom: hrs +# +# $FreeBSD$ + +PORTNAME= dvipsk-tetex +PORTVERSION= 5.92b +CATEGORIES= print +MASTER_SITES= ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/2.0/distrib/ \ + ${MASTER_SITE_TEX_CTAN} +MASTER_SITE_SUBDIR= systems/unix/teTeX/2.0/distrib/ +DISTNAME= tetex-src-${TETEX_VER} +DIST_SUBDIR= teTeX + +MAINTAINER= hrs@FreeBSD.org +COMMENT= Convert a TeX DVI file to PostScript + +BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX +RUN_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX +LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ + wwwcore.1:${PORTSDIR}/www/libwww \ + t1.5:${PORTSDIR}/devel/t1lib + +PLIST_SUB= TEXMFDIR=${TEXMFDIR} MKTEXLSR=${MKTEXLSR} +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --prefix=${PREFIX} \ + --disable-multiplatform \ + --without-texinfo --without-dialog \ + --with-system-ncurses --with-system-zlib \ + --with-system-wwwlib --with-libwww-libdir=${LIBWWW_PREFIX}/lib \ + --with-libwww-include=${LIBWWW_PREFIX}/include/w3c-libwww \ + --with-system-pnglib --with-pnglib-libdir=${LIBPNG_PREFIX}/lib \ + --with-pnglib-include=${LIBPNG_PREFIX}/include \ + --with-system-t1lib --with-t1lib-libdir=${LIBT1_PREFIX}/lib \ + --with-t1lib-include=${LIBT1_PREFIX}/include +CONFLICTS= ja-ptex-base* ja-*dvips* *dvips-* + +MAN1= dvips.1 afm2tfm.1 +INFO= dvips + +TETEX_VER= 2.0.2 +MKTEXLSR?= ${LOCALBASE}/bin/mktexlsr +TEXMFDIR?= share/texmf +LIBPNG_PREFIX?= ${LOCALBASE} +LIBWWW_PREFIX?= ${LOCALBASE} +LIBT1_PREFIX?= ${LOCALBASE} + +do-build: + cd ${WRKSRC}/texk/dvipsk &&\ + ${SETENV} ${MAKE_ENV} ${MAKE} ${ALL_TARGET} + +do-install: + cd ${WRKSRC}/texk/dvipsk &&\ + ${SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_TARGET} + +post-install: + ${MKTEXLSR} + +.include <bsd.port.mk> diff --git a/print/dvipsk-tetex/distinfo b/print/dvipsk-tetex/distinfo new file mode 100644 index 000000000000..d9c8f76d7927 --- /dev/null +++ b/print/dvipsk-tetex/distinfo @@ -0,0 +1,2 @@ +MD5 (teTeX/tetex-src-2.0.2.tar.gz) = a16f6bba227d55e79aeee46fbbd82d28 +SIZE (teTeX/tetex-src-2.0.2.tar.gz) = 11745933 diff --git a/print/dvipsk-tetex/pkg-descr b/print/dvipsk-tetex/pkg-descr new file mode 100644 index 000000000000..7e3719408cd2 --- /dev/null +++ b/print/dvipsk-tetex/pkg-descr @@ -0,0 +1,6 @@ +The program dvips takes a DVI file [.dvi] produced by TeX (or by some +other processor such as GFtoDVI) and converts it to PostScript, +normally sending the result directly to the laserprinter. Fonts used +may either be resident in the printer or defined as bitmaps in PK +files, or a `virtual' combination of both. Dvips will automatically +invoke METAFONT to generate fonts that don't already exist. diff --git a/print/dvipsk-tetex/pkg-plist b/print/dvipsk-tetex/pkg-plist new file mode 100644 index 000000000000..68d9af4770b5 --- /dev/null +++ b/print/dvipsk-tetex/pkg-plist @@ -0,0 +1,13 @@ +@comment $FreeBSD$ +bin/afm2tfm +bin/dvips +%%TEXMFDIR%%/dvips/base/tex.pro +%%TEXMFDIR%%/dvips/base/texps.pro +%%TEXMFDIR%%/dvips/base/texc.pro +%%TEXMFDIR%%/dvips/base/special.pro +%%TEXMFDIR%%/dvips/base/finclude.pro +%%TEXMFDIR%%/dvips/base/color.pro +%%TEXMFDIR%%/dvips/base/crop.pro +%%TEXMFDIR%%/dvips/base/hps.pro +@exec %%MKTEXLSR%% +@unexec %%MKTEXLSR%% |