aboutsummaryrefslogtreecommitdiffstats
path: root/devel/tex-kpathsea
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2014-12-15 00:33:25 +0800
committerhrs <hrs@FreeBSD.org>2014-12-15 00:33:25 +0800
commit231c29db28fc8f6d58a221b3a99973226043212b (patch)
treea294e43e3906f7a1dfff48c716856f7a4c988aa7 /devel/tex-kpathsea
parent51772ac72b38e178b871d274c2e3f8bc3f081154 (diff)
downloadfreebsd-ports-gnome-231c29db28fc8f6d58a221b3a99973226043212b.tar.gz
freebsd-ports-gnome-231c29db28fc8f6d58a221b3a99973226043212b.tar.zst
freebsd-ports-gnome-231c29db28fc8f6d58a221b3a99973226043212b.zip
- Move kpse* scripts from texlive-base to tex-kpathsea.
- Use install-strip target.
Diffstat (limited to 'devel/tex-kpathsea')
-rw-r--r--devel/tex-kpathsea/Makefile17
-rw-r--r--devel/tex-kpathsea/pkg-plist8
2 files changed, 24 insertions, 1 deletions
diff --git a/devel/tex-kpathsea/Makefile b/devel/tex-kpathsea/Makefile
index 36857fb28e0d..dff13e61eeec 100644
--- a/devel/tex-kpathsea/Makefile
+++ b/devel/tex-kpathsea/Makefile
@@ -2,6 +2,7 @@
PORTNAME= kpathsea
PORTVERSION= 6.2.0
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://tug.org/historic/systems/texlive/2014/
PKGNAMEPREFIX= tex-
@@ -16,10 +17,24 @@ USE_LDCONFIG= yes
USE_TEX= yes
EXTRACT_AFTER_ARGS= ${EXTRACT_FILES}
EXTRACT_FILES= ${DISTNAME}/build-aux \
- ${DISTNAME}/texk/kpathsea
+ ${DISTNAME}/texk/kpathsea \
+ ${DISTNAME}/texk/texlive/tl_scripts
WRKSRC= ${WRKDIR}/${DISTNAME}/texk/kpathsea
GNU_CONFIGURE= yes
+INSTALL_TARGET= install-strip
INFO= kpathsea
+post-install:
+ cd ${WRKDIR}/${DISTNAME}/texk/texlive/tl_scripts && \
+ for f in kpsetool kpsewhere; do \
+ ${INSTALL_SCRIPT} $${f}.sh ${STAGEDIR}${PREFIX}/bin/$$f; \
+ ${INSTALL_MAN} $${f}.1 \
+ ${STAGEDIR}${MANPREFIX}/man/man1/$${f}.1; \
+ done; \
+ for l in kpsexpand kpsepath; do \
+ ${LN} -sf kpsetool ${STAGEDIR}${PREFIX}/bin/$$l; \
+ ${LN} -sf kpsetool.1 ${STAGEDIR}${MANPREFIX}/man/man1/$${l}.1; \
+ done
+
.include <bsd.port.mk>
diff --git a/devel/tex-kpathsea/pkg-plist b/devel/tex-kpathsea/pkg-plist
index 4f8c221b264c..6ec34d859ce3 100644
--- a/devel/tex-kpathsea/pkg-plist
+++ b/devel/tex-kpathsea/pkg-plist
@@ -7,6 +7,10 @@ bin/mktexmf
bin/mktexpk
bin/mktextfm
bin/texhash
+bin/kpsewhere
+bin/kpsetool
+bin/kpsexpand
+bin/kpsepath
include/kpathsea/absolute.h
include/kpathsea/c-auto.h
include/kpathsea/c-ctype.h
@@ -57,6 +61,10 @@ man/man1/kpseaccess.1.gz
man/man1/kpsereadlink.1.gz
man/man1/kpsestat.1.gz
man/man1/kpsewhich.1.gz
+man/man1/kpsepath.1.gz
+man/man1/kpsetool.1.gz
+man/man1/kpsewhere.1.gz
+man/man1/kpsexpand.1.gz
man/man1/mktexlsr.1.gz
man/man1/mktexmf.1.gz
man/man1/mktexpk.1.gz