diff options
author | hrs <hrs@FreeBSD.org> | 2005-03-03 01:58:32 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2005-03-03 01:58:32 +0800 |
commit | 63c9d96f7865ea0758b58d4f1ac3e3a3ca96af1a (patch) | |
tree | c76e09b6315671e239b55719147f7c697f793949 /print/teTeX-base | |
parent | 7d8cb697ecae6fdbc068e6e7482ecbeed0a1b260 (diff) | |
download | freebsd-ports-gnome-63c9d96f7865ea0758b58d4f1ac3e3a3ca96af1a.tar.gz freebsd-ports-gnome-63c9d96f7865ea0758b58d4f1ac3e3a3ca96af1a.tar.zst freebsd-ports-gnome-63c9d96f7865ea0758b58d4f1ac3e3a3ca96af1a.zip |
- Fix pkg-plist.
- Install ${TEXMFCONFIGDIR}/web2c/updmap.cfg.
- Some style changes.
Diffstat (limited to 'print/teTeX-base')
-rw-r--r-- | print/teTeX-base/Makefile | 20 | ||||
-rw-r--r-- | print/teTeX-base/pkg-plist | 5 |
2 files changed, 17 insertions, 8 deletions
diff --git a/print/teTeX-base/Makefile b/print/teTeX-base/Makefile index cde5b5ba1cad..b133b98cb3ad 100644 --- a/print/teTeX-base/Makefile +++ b/print/teTeX-base/Makefile @@ -7,7 +7,7 @@ PORTNAME= teTeX-base PORTVERSION= 3.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} \ ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/dvips/:1 @@ -51,7 +51,6 @@ CONFIGURE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ INSTALL_DATA="${INSTALL_DATA}" \ INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ CFLAGS="${CFLAGS} -I${LOCALBASE}/include" -PLIST_SUB= MKTEXLSR=${MKTEXLSR} TEXMFCNF=${TEXMFCNF} PKGMESSAGE= ${WRKDIR}/pkg-message CONFLICTS= ja-ptex-base-[0-9]* latex2e-[0-9]* \ tex-[0-9]* dvips-[0-9]* xdvi-[0-9]* @@ -96,7 +95,6 @@ MLINKS= dvilj.1 dvilj2p.1 \ cweb.1 ctangle.1 \ cweb.1 cweave.1 \ dvicopy.1 odvicopy.1 \ - dvips.1 odvips.1 \ fmtutil.1 mktexfmt.1 \ fmtutil.1 fmtutil-sys.1 \ texconfig.1 texconfig-sys.1 \ @@ -106,6 +104,8 @@ INFO= kpathsea latex web2c .include <bsd.port.pre.mk> +PLIST_SUB?= + .if !defined(WITHOUT_X11) PLIST_SUB+= X11BITS="" USE_XLIB= yes @@ -123,18 +123,22 @@ LIBT1_PREFIX?= ${LOCALBASE} TEXMFDIR= share/texmf TEXMFDISTDIR= share/texmf-dist +TEXMFCONFIGDIR= share/texmf-config TEXMFLOCALDIR= share/texmf-local TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCALDIR}/ls-R TEXMFVARDIR= share/texmf-var MKTEXLSR= ${PREFIX}/bin/mktexlsr -FMTUTIL_SYS= "${SETENV} PATH=${PATH}:${PREFIX}/bin TEXMFMAIN=${PREFIX}/${TEXMFDIR} ${PREFIX}/bin/fmtutil-sys" -UPDMAP_SYS= "${SETENV} PATH=${PATH}:${PREFIX}/bin TEXMFMAIN=${PREFIX}/${TEXMFDIR} ${PREFIX}/bin/updmap-sys" +FMTUTIL_SYS= ${PREFIX}/bin/fmtutil-sys +UPDMAP_SYS= ${PREFIX}/bin/updmap-sys PLIST_SUB+= TEXMFDIR=${TEXMFDIR} \ + TEXMFCONFIGDIR=${TEXMFCONFIGDIR} \ TEXMFDISTDIR=${TEXMFDISTDIR} \ TEXMFVARDIR=${TEXMFVARDIR} \ + MKTEXLSR=${MKTEXLSR} \ FMTUTIL_SYS=${FMTUTIL_SYS} \ - UPDMAP_SYS=${UPDMAP_SYS} + UPDMAP_SYS=${UPDMAP_SYS} \ + SETENV=${SETENV} PKGMESSAGE_SUB= TEXMFDIR=${TEXMFDIR} \ TEXMFDISTDIR=${TEXMFDISTDIR} \ PREFIX=${PREFIX} @@ -157,10 +161,14 @@ pre-install: ${ECHO_CMD} "NOTICE: old config file ${F} has been removed.";\ fi .endfor + ${INSTALL_DATA} \ + ${PREFIX}/${TEXMFDISTDIR}/web2c/updmap.cfg \ + ${PREFIX}/${TEXMFCONFIGDIR}/web2c/updmap.cfg post-install: ${INSTALL_SCRIPT} ${WRKSRC}/utils/texinfo/util/texi2dvi ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/utils/texinfo/util/texi2pdf ${PREFIX}/bin + ${MKTEXLSR} @${ECHO_MSG} @${CAT} ${PKGMESSAGE} diff --git a/print/teTeX-base/pkg-plist b/print/teTeX-base/pkg-plist index 3c6c629b81a7..d7b222b1656c 100644 --- a/print/teTeX-base/pkg-plist +++ b/print/teTeX-base/pkg-plist @@ -173,6 +173,7 @@ include/kpathsea/variable.h include/kpathsea/xopendir.h include/kpathsea/xstat.h lib/libkpathsea.a +%%TEXMFCONFIGDIR%%/web2c/updmap.cfg %%TEXMFDIR%%/web2c/mktex.opt %%TEXMFDIR%%/web2c/mktexdir %%TEXMFDIR%%/web2c/mktexdir.opt @@ -203,7 +204,7 @@ lib/libkpathsea.a %%TEXMFDIR%%/texconfig/tcfmgr.map %%TEXMFDIR%%/release-tetex-src.txt @exec %%MKTEXLSR%% -@exec %%UPDMAP_SYS%% +@exec %%SETENV%% PATH=${PATH}:%D/bin TEXMFMAIN=%D/%%TEXMFDIR%% %%UPDMAP_SYS%% @unexec rm -f %D/%%TEXMFVARDIR%%/fonts/map/dvips/updmap/download35.map @unexec rm -f %D/%%TEXMFVARDIR%%/fonts/map/dvips/updmap/builtin35.map @unexec rm -f %D/%%TEXMFVARDIR%%/fonts/map/dvips/updmap/psfonts_t1.map @@ -217,7 +218,7 @@ lib/libkpathsea.a @unexec rm -f %D/%%TEXMFVARDIR%%/fonts/map/dvipdfm/updmap/dvipdfm_ndl14.map @unexec rm -f %D/%%TEXMFVARDIR%%/fonts/map/dvipdfm/updmap/dvipdfm.map @unexec rm -f %D/%%TEXMFVARDIR%%/web2c/updmap.log -@exec %%FMTUTIL_SYS%% --all +@exec %%SETENV%% PATH=${PATH}:%D/bin TEXMFMAIN=%D/%%TEXMFDIR%% %%FMTUTIL_SYS%% --all @unexec rm -f %D/%%TEXMFVARDIR%%/web2c/aleph.log @unexec rm -f %D/%%TEXMFVARDIR%%/web2c/cont-en.log @unexec rm -f %D/%%TEXMFVARDIR%%/web2c/etex.log |