diff --git a/print/tex-basic-engines/Makefile b/print/tex-basic-engines/Makefile index 6de48b09a038..408d9d46f523 100644 --- a/print/tex-basic-engines/Makefile +++ b/print/tex-basic-engines/Makefile @@ -1,59 +1,61 @@ PORTNAME= basic-engines PORTVERSION= ${TEXLIVE_VERSION} +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= TEX_CTAN/systems/texlive/${TEXLIVE_YEAR} PKGNAMEPREFIX= tex- DISTNAME= texlive-${PORTVERSION}-source DIST_SUBDIR= TeX MAINTAINER= tex@FreeBSD.org COMMENT= Basic TeX Engines WWW= https://tug.org/texlive/ LIB_DEPENDS= libpng.so:graphics/png USES= libtool localbase pkgconfig tar:xz tex USE_TEX= kpathsea web2c GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= ${EXCLUDE_ENGINES:S/^/--disable-/} \ --disable-missing \ --with-system-kpathsea \ --with-system-zlib \ --with-x=no \ --without-mf-x-toolkit .for L in libpng CONFIGURE_ARGS+= --with-$L-include=${LOCALBASE}/include \ --with-$L-libdir=${LOCALBASE}/lib \ --with-system-$L .endfor INSTALL_TARGET= install-strip EXTRACT_AFTER_ARGS= ${EXTRACT_FILES:S,^,${DISTNAME}/,} EXTRACT_FILES= build-aux libs/xpdf texk/web2c WRKSRC= ${WRKDIR}/${DISTNAME}/texk/web2c EXCLUDE_ENGINES= aleph luatex luajittex mf mf-nowin ptex eptex uptex \ euptex xetex otangle mp pmp upmp web2c web-progs \ synctex hitex \ luahbtex \ luajithbtex \ mflua \ mfluajit \ latex post-extract: @${FIND} ${WRKSRC} -name '*.orig' -delete post-configure: cd ${WRKDIR}/${DISTNAME}/libs/xpdf && \ ${SETENV} CC="${CC}" CPP="${CPP}" CXX="${CXX}" \ CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" \ CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" \ LIBS="${LIBS}" \ ${CONFIGURE_ENV} ${SH} ${CONFIGURE_SCRIPT} \ ${CONFIGURE_ARGS} .include diff --git a/print/tex-basic-engines/pkg-plist b/print/tex-basic-engines/pkg-plist index 2729eace04fa..daeef5586d0f 100644 --- a/print/tex-basic-engines/pkg-plist +++ b/print/tex-basic-engines/pkg-plist @@ -1,11 +1,11 @@ bin/initex bin/pdftex bin/pdftosrc bin/tex bin/ttf2afm -man/man1/initex.1.gz -man/man1/pdflatex.1.gz -man/man1/pdftex.1.gz -man/man1/pdftosrc.1.gz -man/man1/tex.1.gz -man/man1/ttf2afm.1.gz +share/man/man1/initex.1.gz +share/man/man1/pdflatex.1.gz +share/man/man1/pdftex.1.gz +share/man/man1/pdftosrc.1.gz +share/man/man1/tex.1.gz +share/man/man1/ttf2afm.1.gz