aboutsummaryrefslogtreecommitdiff
path: root/print/tex-dvipsk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-07-04 17:35:18 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-07-04 17:35:18 +0000
commit2a0b64c7341e1c013ce6958160a24e2452a4c6c9 (patch)
tree1f86cc582c2ad43d4c632315c51db0626c5a1005 /print/tex-dvipsk
parent55ba0a2277c2739f61cf1f464a7051fadb36a60c (diff)
downloadports-2a0b64c7341e1c013ce6958160a24e2452a4c6c9.tar.gz
ports-2a0b64c7341e1c013ce6958160a24e2452a4c6c9.zip
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
Notes
Notes: svn path=/head/; revision=360642
Diffstat (limited to 'print/tex-dvipsk')
-rw-r--r--print/tex-dvipsk/Makefile11
-rw-r--r--print/tex-dvipsk/pkg-plist2
2 files changed, 6 insertions, 7 deletions
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 <bsd.port.mk>
diff --git a/print/tex-dvipsk/pkg-plist b/print/tex-dvipsk/pkg-plist
index 4ad25d772396..c2a3a173fe09 100644
--- a/print/tex-dvipsk/pkg-plist
+++ b/print/tex-dvipsk/pkg-plist
@@ -1,5 +1,7 @@
bin/afm2tfm
bin/dvips
+man/man1/afm2tfm.1.gz
+man/man1/dvips.1.gz
%%TEXMFDISTDIR%%/fonts/map/dvips/gfsneohellenic/gfsneohellenic.map
%%TEXMFDISTDIR%%/fonts/map/dvips/adfsymbols/ArrowsADF.map
%%TEXMFDISTDIR%%/fonts/map/dvips/adfsymbols/BulletsADF.map