8374a33c80
- Update MASTER_SITES_TEX_CTAN from https://tug.org/historic/ - Update texlua to use texlua53 library - Deprecate CSLaTeX format - Remove aleph as per Upstream - Add common variables TEXLIVE_YEAR and TEXLIVE_VERSION to be used in all ports related to tex* - Fix dependency of print/texlive-texmf-source [1] - devel/tex-kpathsea: Update version 6.2.1=>6.3.3 - devel/tex-libtexlua: Update version 5.2.4=>5.3.6 - devel/tex-libtexluajit: Update version 2.0.3=>2.1.0 - devel/tex-synctex: Update version 1.17.0=>2.0.0 - devel/tex-web2c: Update version 20150521=>20210325 - editors/texworks: Fix build with newer tex version - print/tex-basic-engines: Update version 20150521=>20210325 - print/tex-dvipdfmax: Update version 20150521=>20210325 - print/tex-dvipsk: Update version 5.995=>20210325.1 - print/tex-formats: Update version 20150521=>20210325 - print/tex-jadetex: - print/tex-luatex: Update version 0.80.0=>1.12.0 * Convert to dynamic pkg-plist - print/tex-ptexenc: Update version 1.3.3=>1.3.9 - print/tex-xetex: Update version 0.99992=>0.99993 * Convert to dynamic pkg-plist - print/texlive-base: Update version 20150521=>20210325 - print/texlive-docs: Update version 20150521=>20210325 * Convert to dynamic pkg-plist - print/texlive-full: Update version 20150521=>20210325 - print/texlive-texmf-source: Update version 20150521=>20210325 - print/texlive-texmf: Update version 20150521=>20210325 * Convert to dynamic pkg-plist - print/texlive-tlmgr: Update version 20150521=>20210325 - print/xpdfopen: Transfer MAINTAINER to tex@ as xpdfopen is an integral part of tex after poppler support has been deprecated from tex [2] - textproc/dblatex: Update version 0.3.11=>0.3.12 * Take MAINTAINERship - textproc/gastex: Fix build - textproc/metauml: Fix build PR: 226983 [1] Reported by: Trond.Endrestol@ximalas.info [1] Reviewed by: tcberner (private repo) Approved by: hrs (maintainer-timeout) [2] Relnotes: https://tug.org/texlive/doc/texlive-en/texlive-en.html#news Sponsored by: Nepustil.net
61 lines
1.9 KiB
Makefile
61 lines
1.9 KiB
Makefile
PORTNAME= dvipsk
|
|
PORTVERSION= ${TEXLIVE_YEAR}.1
|
|
CATEGORIES= print
|
|
MASTER_SITES= TEX_CTAN/systems/texlive/${TEXLIVE_YEAR}/
|
|
PKGNAMEPREFIX= tex-
|
|
DISTNAME= texlive-${TEXLIVE_VERSION}-source
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
${DISTNAME_TEXMF}${EXTRACT_SUFX}
|
|
DIST_SUBDIR= TeX
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= tex@FreeBSD.org
|
|
COMMENT= Convert a TeX DVI file to PostScript
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libpaper.so:print/libpaper
|
|
|
|
USES= gmake localbase:ldflags pkgconfig tar:xz
|
|
USE_TEX= kpathsea texhash texmf web2c
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-kpathsea-includes=${LOCALBASE}/include \
|
|
--with-kpathsea-libdir=${LOCALBASE}/lib \
|
|
--with-paper \
|
|
--with-system-kpathsea \
|
|
--with-system-libpng \
|
|
--with-system-zlib
|
|
|
|
EXTRACT_AFTER_ARGS= ${EXTRACT_FILES:S,^,${DISTNAME}/,}
|
|
EXTRACT_FILES= am m4 build-aux texk/dvipsk texk/lcdf-typetools
|
|
EXTRACT_AFTER_ARGS_TEXMF= | ${TAR} -xf - -C ${STAGEDIR}${PREFIX}/share \
|
|
--strip-components 1 --no-same-permission \
|
|
--no-same-owner \
|
|
${EXCLUDE_FILES:S,^,--exclude ,} \
|
|
${EXTRACT_FILES_TEXMF:S,^,${DISTNAME_TEXMF}/,}
|
|
DISTNAME_TEXMF= texlive-${TEXLIVE_VERSION}-texmf
|
|
EXTRACT_FILES_TEXMF= texmf-dist/doc/dvips/ texmf-dist/dvips/ \
|
|
texmf-dist/fonts/map/dvips/ \
|
|
texmf-dist/fonts/enc/dvips/ \
|
|
texmf-dist/tex/generic/dvips/
|
|
EXCLUDE_FILES= texmf-dist/dvips/xdvi
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/texk/dvipsk
|
|
|
|
INFO= dvips
|
|
PLIST_FILES= bin/afm2tfm \
|
|
bin/dvips \
|
|
man/man1/afm2tfm.1.gz \
|
|
man/man1/dvips.1.gz
|
|
|
|
pre-install:
|
|
${CAT} ${DISTDIR}/${DIST_SUBDIR}/texlive-${TEXLIVE_VERSION}-texmf${EXTRACT_SUFX} \
|
|
${EXTRACT_AFTER_ARGS_TEXMF}
|
|
|
|
post-install:
|
|
${FIND} -s ${STAGEDIR}${PREFIX}/share/texmf-dist -not -type d | ${SORT} | \
|
|
${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST}
|
|
${FIND} -s ${STAGEDIR}${PREFIX}/share/texmf-dist -type d -empty | ${SORT} -r | \
|
|
${SED} -e 's#^${STAGEDIR}${PREFIX}/#@dir #' >> ${TMPPLIST}
|
|
|
|
.include <bsd.port.mk>
|