aboutsummaryrefslogtreecommitdiffstats
path: root/print/tex-aleph
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-07-05 01:35:18 +0800
committerbapt <bapt@FreeBSD.org>2014-07-05 01:35:18 +0800
commita4feb108b22468959fe7c7b4b9ddab2531e4dd31 (patch)
tree1f86cc582c2ad43d4c632315c51db0626c5a1005 /print/tex-aleph
parent1d245abad7f7ebc0d6a9c1b86a9c4a29dfad1f5b (diff)
downloadfreebsd-ports-gnome-a4feb108b22468959fe7c7b4b9ddab2531e4dd31.tar.gz
freebsd-ports-gnome-a4feb108b22468959fe7c7b4b9ddab2531e4dd31.tar.zst
freebsd-ports-gnome-a4feb108b22468959fe7c7b4b9ddab2531e4dd31.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
Diffstat (limited to 'print/tex-aleph')
-rw-r--r--print/tex-aleph/Makefile8
-rw-r--r--print/tex-aleph/pkg-plist4
2 files changed, 9 insertions, 3 deletions
diff --git a/print/tex-aleph/Makefile b/print/tex-aleph/Makefile
index d341f73919dd..1d93c5dfab0c 100644
--- a/print/tex-aleph/Makefile
+++ b/print/tex-aleph/Makefile
@@ -2,7 +2,7 @@
PORTNAME= aleph
PORTVERSION= 0.0.r.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= print
MASTER_SITES= ftp://tug.org/historic/systems/texlive/2012/
PKGNAMEPREFIX= tex-
@@ -24,7 +24,7 @@ EXTRACT_FILES= \
libs/obsdcompat \
libs/xpdf \
texk/web2c
-EXTRACT_AFTER_ARGS_TEXMF=| ${TAR} -xf - -C ${PREFIX}/share \
+EXTRACT_AFTER_ARGS_TEXMF=| ${TAR} -xf - -C ${STAGEDIR}${PREFIX}/share \
--strip-components 1 --no-same-permission --no-same-owner \
${EXTRACT_FILES_TEXMF:S,^,${DISTNAME_TEXMF}/,}
DISTVERSION_TEXLIVE= 20120701
@@ -75,7 +75,6 @@ MLINKS= aleph.1 lamed.1 \
dvitype.1 odvitype.1 \
tangle.1 otangle.1
-NO_STAGE= yes
pre-configure:
for D in libs/obsdcompat libs/xpdf; do \
cd ${WRKDIR}/${DISTNAME}/$$D && \
@@ -86,4 +85,7 @@ pre-su-install:
${CAT} ${DISTDIR}/${DIST_SUBDIR}/texlive-${DISTVERSION_TEXLIVE}-texmf${EXTRACT_SUFX} \
${EXTRACT_AFTER_ARGS_TEXMF}
+post-install:
+ ${RM} -f ${STAGEDIR}${PREFIX}/man/man1/*
+
.include <bsd.port.mk>
diff --git a/print/tex-aleph/pkg-plist b/print/tex-aleph/pkg-plist
index 3df3f26855fb..c5bbd29dbb1c 100644
--- a/print/tex-aleph/pkg-plist
+++ b/print/tex-aleph/pkg-plist
@@ -8,6 +8,10 @@ bin/otp2ocp
bin/outocp
bin/mkocp
bin/mkofm
+bin/ofm2opl
+bin/opl2ofm
+bin/ovf2ovp
+bin/ovp2ovf
%%TEXMFDISTDIR%%/tex/plain/config/aleph.ini
%%TEXMFDISTDIR%%/doc/aleph/base/readme.txt
%%TEXMFDISTDIR%%/doc/aleph/base/News