1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/print/tex-dvipdfmx/Makefile
Muhammad Moinur Rahman 7a740b7c90
*/tex*: Update version 20230313=>20240312
- devel/tex-kpathsea: Update version 6.3.5=>6.4.0
- devel/tex-libtexlua: Update distinfo
- devel/tex-synctex: Update distinfo
- devel/tex-web2c: Update version 20230313=>20240312
- japanese/tex-ptex: Update distinfo
- print/tex-basic-engines: Update version 20230313=>20240312
- print/tex-dvipdfmx: Update version 20230313=>20240312
- print/tex-dvipsk: Update version 20230313=>20240312
- print/tex-jadetex: Update version 20230313=>20240312
- print/tex-luatex: Update version 20230313=>20240312
- print/tex-ptexenc: Update version 1.4.3=>1.4.6
- print/tex-xdvik: Bump REVISION
- print/tex-xetex: Update verison 0.99993=>20240312
- print/tex-xmltex: Update verison 1.9=>20240312
- print/texlive-base: Update version 20230313=>20240312
- print/texlive-docs: Update version 20230313=>20240312
- print/texlive-texmf-source: Update version 20230313=>20240312
- print/texlive-texmf: Update version 20230313=>20240312
- print/texlive-tlmgr: Update version 20230313=>20240312
- print/xpdfopen: Update version 0.86=>20240312

Sponsored by: Nepustil
2024-05-29 20:34:04 +02:00

71 lines
2.1 KiB
Makefile

PORTNAME= dvipdfmx
DISTVERSION= ${TEXLIVE_VERSION}
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= DVI Previewer(kpathsearch) for X
WWW= http://project.ktug.or.kr/dvipdfmx/
LICENSE= GPLv2
LIB_DEPENDS= libpng.so:graphics/png \
libpaper.so:print/libpaper
RUN_DEPENDS= ${LOCALBASE}/share/fonts/adobe-cmaps/ai0/CMap/Identity-H:print/adobe-cmaps
USES= localbase:ldflags pkgconfig tar:xz tex
USE_TEX= kpathsea web2c dvipsk luatex texhash
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= --with-system-kpathsea \
--with-kpathsea-includes=${LOCALBASE}/include \
--with-kpathsea-libdir=${LOCALBASE}/lib \
--with-system-libpaper \
--with-libpaper-includes=${LOCALBASE}/include \
--with-libpaper-libdir=${LOCALBASE}/lib \
--with-system-libpng \
--with-system-zlib
EXTRACT_AFTER_ARGS= ${EXTRACT_FILES:S,^,${DISTNAME}/,}
EXTRACT_FILES= am \
m4 \
build-aux \
texk/dvipdfm-x
EXTRACT_AFTER_ARGS_TEXMF= \
| ${TAR} -xf - -C ${STAGEDIR}${PREFIX}/share \
--strip-components 1 --no-same-permission --no-same-owner \
${EXCLUDE_FILES_TEXMF:S,^,--exclude ${DISTNAME_TEXMF}/,} \
${EXTRACT_FILES_TEXMF:S,^,${DISTNAME_TEXMF}/,}
EXCLUDE_FILES_TEXMF= \
texmf-dist/fonts/map/dvipdfmx/jfontmaps \
texmf-dist/fonts/map/dvipdfmx/japanese-otf \
texmf-dist/fonts/map/dvipdfmx/ptex \
texmf-dist/fonts/map/dvipdfmx/updmap/kanjix.map
EXTRACT_FILES_TEXMF= \
texmf-dist/doc/dvipdfmx/ \
texmf-dist/dvipdfmx/ \
texmf-dist/fonts/cmap/dvipdfmx/ \
texmf-dist/fonts/map/dvipdfmx/ \
texmf-dist/fonts/map/dvipdfm/
WRKSRC= ${WRKDIR}/${DISTNAME}/texk/dvipdfm-x
TEXHASHDIRS= ${TEXMFDISTDIR} ${TEXMFDIR}
pre-install:
${CAT} ${DISTDIR}/${DIST_SUBDIR}/texlive-${TEXLIVE_VERSION}-texmf${EXTRACT_SUFX} \
${EXTRACT_AFTER_ARGS_TEXMF}
post-install:
${LN} -f -s ${LOCALBASE}/share/fonts/adobe-cmaps \
${STAGEDIR}${PREFIX}/${TEXMFDISTDIR}/fonts/cmap/adobe-cmaps
.include <bsd.port.mk>