aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2005-02-06 13:56:37 +0000
committerHiroki Sato <hrs@FreeBSD.org>2005-02-06 13:56:37 +0000
commit53c55ddd645d2d88df13b564b57926b5f2541ee2 (patch)
tree8f2089228b8d22ce7fa4fdbb0cf5dc14054b2294 /print
parentb929fb436e514ae10663e3abb6b4ae77a3838fef (diff)
downloadports-53c55ddd645d2d88df13b564b57926b5f2541ee2.tar.gz
ports-53c55ddd645d2d88df13b564b57926b5f2541ee2.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/dvipsk-tetex/Makefile77
-rw-r--r--print/dvipsk-tetex/distinfo4
-rw-r--r--print/dvipsk-tetex/files/pkg-install.in26
-rw-r--r--print/dvipsk-tetex/pkg-plist18
4 files changed, 64 insertions, 61 deletions
diff --git a/print/dvipsk-tetex/Makefile b/print/dvipsk-tetex/Makefile
index fb4a96626b29..c49919207a3e 100644
--- a/print/dvipsk-tetex/Makefile
+++ b/print/dvipsk-tetex/Makefile
@@ -5,47 +5,55 @@
# $FreeBSD$
PORTNAME= dvipsk-tetex
-PORTVERSION= 5.92b
-PORTREVISION= 2
+PORTVERSION= 5.95a
+PORTREVISION= 0
CATEGORIES= print
-MASTER_SITES= ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/2.0/distrib/ \
+MASTER_SITES= ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/ \
${MASTER_SITE_TEX_CTAN}
-MASTER_SITE_SUBDIR= systems/unix/teTeX/2.0/distrib/
-DISTNAME= tetex-src-${TETEX_VER}
+MASTER_SITE_SUBDIR= systems/unix/teTeX-beta
+DISTNAME= ${TETEX_SRC}
DIST_SUBDIR= teTeX
MAINTAINER= hrs@FreeBSD.org
COMMENT= Convert a TeX DVI file to PostScript
BUILD_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
- ${LOCALBASE}/${TEXMF}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
+ ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
mktexlsr:${PORTSDIR}/print/teTeX-base
RUN_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
- ${LOCALBASE}/${TEXMF}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
+ ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
mktexlsr:${PORTSDIR}/print/teTeX-base
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
wwwcore.1:${PORTSDIR}/www/libwww \
t1.5:${PORTSDIR}/devel/t1lib
-PLIST_SUB= TEXMF=${TEXMF} MKTEXLSR=${MKTEXLSR}
+PLIST_SUB= TEXMFDIR=${TEXMFDIR} \
+ TEXMFDISTDIR=${TEXMFDISTDIR} \
+ TEXMFCONFIGDIR=${TEXMFCONFIGDIR} \
+ MKTEXLSR=${MKTEXLSR}
-BUILD_WRKSRC_A= ${WRKDIR}/${DISTNAME}/texk/dvipsk
-INSTALL_WRKSRC_A= ${WRKDIR}/${DISTNAME}/texk/dvipsk
-BUILD_WRKSRC_B= ${WRKDIR}/${DISTNAME}/texk/odvipsk
-INSTALL_WRKSRC_B= ${WRKDIR}/${DISTNAME}/texk/odvipsk
+PATCH_WRKSRC= ${WRKDIR}/${TETEX_SRC}
+BUILD_WRKSRC= ${WRKDIR}/${DISTNAME}/texk/dvipsk
+INSTALL_WRKSRC= ${WRKDIR}/${DISTNAME}/texk/dvipsk
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --prefix=${PREFIX} \
- --disable-multiplatform \
- --without-texinfo --without-dialog \
+CONFIGURE_ARGS= --disable-multiplatform \
+ --without-texinfo \
+ --without-texi2html \
+ --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= *-teTeX-[0-9]* ja-ptex-base-[0-9]* *-*dvips* *dvips-*
+ --with-t1lib-include=${LIBT1_PREFIX}/include \
+ --without-xdvik --without-oxdvik
+CONFLICTS= *-teTeX-[0-9]* \
+ ja-ptex-*-[0-9]* \
+ dvips-[0-9]* \
+ *-dvips-[0-9]* \
+ *-dvipsk-[0-9]*
MAN1= dvips.1 afm2tfm.1
INFO= dvips
@@ -57,25 +65,30 @@ PAPERSIZE= letter
PAPERSIZE= a4
.endif
-TETEX_VER= 2.0.2
+TETEX_SRC= tetex-src-2.99.13.20050204-beta
MKTEXLSR?= ${LOCALBASE}/bin/mktexlsr
-TEXMF?= share/texmf
-TEXMFLOCAL?= share/texmf-local
-TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
-TEXCONFIG?= ${LOCALBASE}/bin/texconfig
-DVIPSDIR= ${LOCALBASE}/${TEXMF}/dvips/config
-DVIPSVARDIR= ${LOCALBASE}/${TEXMF}-var/dvips/config
+TEXMFDIR= share/texmf
+TEXMFLOCALDIR= share/texmf-local
+TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCALDIR}/ls-R
+TEXMFDISTDIR= share/texmf-dist
+TEXMFDIST_LSR= ${TEXMFDISTDIR}/ls-R
+TEXMFCONFIGDIR= share/texmf-config
+TEXMFCONFIG_LSR=${TEXMFCONFIGDIR}/ls-R
+TEXCONFIGBIN= ${LOCALBASE}/bin/texconfig-sys
+DVIPSDIR= ${LOCALBASE}/${TEXMFDIR}/dvips/config
+DVIPSCONFDIR= ${LOCALBASE}/${TEXMFCONFIGDIR}/dvips/config
LIBPNG_PREFIX?= ${LOCALBASE}
LIBWWW_PREFIX?= ${LOCALBASE}
LIBT1_PREFIX?= ${LOCALBASE}
+LIBGD_PREFIX?= ${LOCALBASE}
PKGINSTALL= ${WRKDIR}/pkg-install.sh
PKGDEINSTALL= ${WRKDIR}/pkg-install.sh
PKGINSTALL_SUB= PAPERSIZE=${PAPERSIZE} \
MKTEXLSR=${MKTEXLSR} \
DVIPSDIR=${DVIPSDIR} \
- DVIPSVARDIR=${DVIPSVARDIR} \
- TEXCONFIG=${TEXCONFIG} \
+ DVIPSCONFDIR=${DVIPSCONFDIR} \
+ TEXCONFIGBIN=${TEXCONFIGBIN} \
LOCALBASE=${LOCALBASE}
pre-build:
@@ -83,18 +96,6 @@ pre-build:
< ${FILESDIR}/pkg-install.in > ${PKGINSTALL}
${CHMOD} 0755 ${PKGINSTALL}
-do-build:
-.for W in A B
- @(cd ${BUILD_WRKSRC_${W}} &&\
- ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
-.endfor
-
-do-install:
-.for W in A B
- @(cd ${INSTALL_WRKSRC_${W}} &&\
- ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
-.endfor
-
post-install:
@${PKGINSTALL} ${PKGNAME} POST-INSTALL
diff --git a/print/dvipsk-tetex/distinfo b/print/dvipsk-tetex/distinfo
index d9c8f76d7927..ede58e742504 100644
--- a/print/dvipsk-tetex/distinfo
+++ b/print/dvipsk-tetex/distinfo
@@ -1,2 +1,2 @@
-MD5 (teTeX/tetex-src-2.0.2.tar.gz) = a16f6bba227d55e79aeee46fbbd82d28
-SIZE (teTeX/tetex-src-2.0.2.tar.gz) = 11745933
+MD5 (teTeX/tetex-src-2.99.13.20050204-beta.tar.gz) = f0578ba57b930a78c8ba80f85c247a69
+SIZE (teTeX/tetex-src-2.99.13.20050204-beta.tar.gz) = 12768217
diff --git a/print/dvipsk-tetex/files/pkg-install.in b/print/dvipsk-tetex/files/pkg-install.in
index fcfb27f8e255..ae4f4382fdb4 100644
--- a/print/dvipsk-tetex/files/pkg-install.in
+++ b/print/dvipsk-tetex/files/pkg-install.in
@@ -3,32 +3,34 @@
PAPERSIZE=%%PAPERSIZE%%
DVIPSDIR=%%DVIPSDIR%%
-DVIPSVARDIR=%%DVIPSVARDIR%%
+DVIPSCONFDIR=%%DVIPSCONFDIR%%
MKTEXLSR=%%MKTEXLSR%%
-TEXCONFIG=%%TEXCONFIG%%
+TEXCONFIGBIN=%%TEXCONFIGBIN%%
PATH=${PATH}:%%LOCALBASE%%/bin
case $2 in
POST-INSTALL)
- if [ -f ${DVIPSVARDIR}/config.ps ]; then
- echo "======"
- echo "NOTICE: you have to merge "\
- "${DVIPSVARDIR}/config.ps from ${DVIPSDIR}/config.ps."
- echo "======"
- fi
+ ${MKTEXLSR}
+
+ # output to a file by default
+ ${TEXCONFIGBIN} dvips printcmd -
case ${PAPERSIZE} in
letter)
- ${TEXCONFIG} dvips paper letter
+ ${TEXCONFIGBIN} dvips paper letter
;;
*)
- ${TEXCONFIG} dvips paper a4
+ ${TEXCONFIGBIN} dvips paper a4
;;
esac
${MKTEXLSR}
+ echo "======"
+ echo "NOTICE: Before upgrading, you may want to make " \
+ "a backup of the following file(s):"
+ echo " ${DVIPSCONFDIR}/config.ps"
+ echo "======"
;;
DEINSTALL)
- rm -f ${DVIPSVARDIR}/config.ps
- cp -v ${DVIPSDIR}/config.ps.tetex ${DVIPSDIR}/config.ps
+ # do nothing
${MKTEXLSR}
;;
esac
diff --git a/print/dvipsk-tetex/pkg-plist b/print/dvipsk-tetex/pkg-plist
index 8e86f72e369b..4b9907a23710 100644
--- a/print/dvipsk-tetex/pkg-plist
+++ b/print/dvipsk-tetex/pkg-plist
@@ -1,12 +1,12 @@
@comment $FreeBSD$
bin/afm2tfm
bin/dvips
-bin/odvips
-%%TEXMF%%/dvips/base/color.pro
-%%TEXMF%%/dvips/base/crop.pro
-%%TEXMF%%/dvips/base/finclude.pro
-%%TEXMF%%/dvips/base/hps.pro
-%%TEXMF%%/dvips/base/special.pro
-%%TEXMF%%/dvips/base/tex.pro
-%%TEXMF%%/dvips/base/texc.pro
-%%TEXMF%%/dvips/base/texps.pro
+%%TEXMFDIR%%/dvips/base/color.pro
+%%TEXMFDIR%%/dvips/base/crop.pro
+%%TEXMFDIR%%/dvips/base/finclude.pro
+%%TEXMFDIR%%/dvips/base/hps.pro
+%%TEXMFDIR%%/dvips/base/special.pro
+%%TEXMFDIR%%/dvips/base/tex.pro
+%%TEXMFDIR%%/dvips/base/texc.pro
+%%TEXMFDIR%%/dvips/base/texps.pro
+%%TEXMFCONFIGDIR%%/dvips/config/config.ps