summaryrefslogtreecommitdiff
path: root/devel/tex-libtexluajit
diff options
context:
space:
mode:
Diffstat (limited to 'devel/tex-libtexluajit')
-rw-r--r--devel/tex-libtexluajit/Makefile25
-rw-r--r--devel/tex-libtexluajit/distinfo2
-rw-r--r--devel/tex-libtexluajit/files/patch-Makefile.in11
-rw-r--r--devel/tex-libtexluajit/pkg-descr1
-rw-r--r--devel/tex-libtexluajit/pkg-plist11
5 files changed, 50 insertions, 0 deletions
diff --git a/devel/tex-libtexluajit/Makefile b/devel/tex-libtexluajit/Makefile
new file mode 100644
index 000000000000..139b083a8598
--- /dev/null
+++ b/devel/tex-libtexluajit/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= libtexluajit
+PORTVERSION= 2.0.3
+CATEGORIES= devel
+MASTER_SITES= ftp://tug.org/historic/systems/texlive/2015/
+PKGNAMEPREFIX= tex-
+DISTNAME= texlive-20150521-source
+DIST_SUBDIR= TeX
+
+MAINTAINER= hrs@FreeBSD.org
+COMMENT= LuaJIT library for TeXLive
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LuaJIT-2.0.3/COPYRIGHT
+
+USES= tar:xz libtool pkgconfig
+USE_LDCONFIG= yes
+EXTRACT_AFTER_ARGS= ${EXTRACT_FILES:S,^,${DISTNAME}/,}
+EXTRACT_FILES= build-aux libs/luajit
+WRKSRC= ${WRKDIR}/${DISTNAME}/libs/luajit
+GNU_CONFIGURE= yes
+INSTALL_TARGET= install-strip
+
+.include <bsd.port.mk>
diff --git a/devel/tex-libtexluajit/distinfo b/devel/tex-libtexluajit/distinfo
new file mode 100644
index 000000000000..5e60be0fc6e1
--- /dev/null
+++ b/devel/tex-libtexluajit/distinfo
@@ -0,0 +1,2 @@
+SHA256 (TeX/texlive-20150521-source.tar.xz) = ed9bcd7bdce899c3c27c16a8c5c3017c4f09e1d7fd097038351b72497e9d4669
+SIZE (TeX/texlive-20150521-source.tar.xz) = 45459552
diff --git a/devel/tex-libtexluajit/files/patch-Makefile.in b/devel/tex-libtexluajit/files/patch-Makefile.in
new file mode 100644
index 000000000000..facb0b0c7043
--- /dev/null
+++ b/devel/tex-libtexluajit/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2015-02-16 14:32:53 UTC
++++ Makefile.in
+@@ -728,7 +728,7 @@ luajitinclude_HEADERS = \
+ $(LUAJIT_TREE)/src/lua.hpp \
+ $(LUAJIT_TREE)/src/lualib.h
+
+-pkgconfigdir = ${libdir}/pkgconfig
++pkgconfigdir = ${prefix}/libdata/pkgconfig
+ pkgconfig_DATA = texluajit.pc
+ @build_TRUE@dist_check_SCRIPTS = luajit.test luajiterr.test
+ @build_TRUE@TESTS = luajit.test luajiterr.test
diff --git a/devel/tex-libtexluajit/pkg-descr b/devel/tex-libtexluajit/pkg-descr
new file mode 100644
index 000000000000..15100f4f0378
--- /dev/null
+++ b/devel/tex-libtexluajit/pkg-descr
@@ -0,0 +1 @@
+libtexluajit is a LuaJIT 2.0.3 library modified for LuaJITTeX.
diff --git a/devel/tex-libtexluajit/pkg-plist b/devel/tex-libtexluajit/pkg-plist
new file mode 100644
index 000000000000..38673d513249
--- /dev/null
+++ b/devel/tex-libtexluajit/pkg-plist
@@ -0,0 +1,11 @@
+include/texluajit/lauxlib.h
+include/texluajit/lua.h
+include/texluajit/lua.hpp
+include/texluajit/luaconf.h
+include/texluajit/luajit.h
+include/texluajit/lualib.h
+lib/libtexluajit.a
+lib/libtexluajit.so
+lib/libtexluajit.so.2
+lib/libtexluajit.so.2.0.3
+libdata/pkgconfig/texluajit.pc