From 2a0b64c7341e1c013ce6958160a24e2452a4c6c9 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Fri, 4 Jul 2014 17:35:18 +0000 Subject: Support stage for texlive, given it is impossible to rebuild the fmt files into the stage then they are now rebuild in post-installation, like it is done in other package system --- print/tex-dvipsk/Makefile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'print/tex-dvipsk/Makefile') diff --git a/print/tex-dvipsk/Makefile b/print/tex-dvipsk/Makefile index e8a123c92347..625b8a41ec47 100644 --- a/print/tex-dvipsk/Makefile +++ b/print/tex-dvipsk/Makefile @@ -2,7 +2,7 @@ PORTNAME= dvipsk PORTVERSION= 5.992 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= print MASTER_SITES= ftp://tug.org/historic/systems/texlive/2012/ PKGNAMEPREFIX= tex- @@ -31,7 +31,7 @@ EXTRACT_FILES= \ texk/lcdf-typetools \ texk/kpathsea EXTRACT_AFTER_ARGS_TEXMF= \ - | ${TAR} -xf - -C ${PREFIX}/share \ + | ${TAR} -xf - -C ${STAGEDIR}${PREFIX}/share \ --strip-components 1 --no-same-permission --no-same-owner \ ${EXTRACT_FILES_TEXMF:S,^,${DISTNAME_TEXMF}/,} DISTVERSION_TEXMF= 20120701 @@ -56,16 +56,13 @@ CONFIGURE_ARGS= --with-paper \ CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpaper -L${LOCALBASE}/lib -NO_MANCOMPRESS= yes -MAN1= afm2tfm.1 dvips.1 INFO= dvips -NO_STAGE= yes -pre-su-install: +pre-install: ${CAT} ${DISTDIR}/${DIST_SUBDIR}/texlive-${DISTVERSION_TEXMF}-texmf${EXTRACT_SUFX} \ ${EXTRACT_AFTER_ARGS_TEXMF} post-install: - ${INSTALL_DATA} ${WRKDIR}/texlive-${DISTVERSION_TEXMF}-source/texk/lcdf-typetools/7t.enc ${PREFIX}/${TEXMFDISTDIR}/fonts/enc/dvips/base/7t.enc + ${INSTALL_DATA} ${WRKDIR}/texlive-${DISTVERSION_TEXMF}-source/texk/lcdf-typetools/7t.enc ${STAGEDIR}${PREFIX}/${TEXMFDISTDIR}/fonts/enc/dvips/base/7t.enc .include -- cgit v1.2.3