aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-07-24 01:50:50 +0800
committerarved <arved@FreeBSD.org>2003-07-24 01:50:50 +0800
commit85d93c70f6888c1e5e0f24894cd3a65e435ba2b0 (patch)
tree811a54c1a8392f8dde11cc98b5be70daf4de11c9
parent1f63fe0e7a39d5631adf4dc2f305a8b211fb4017 (diff)
downloadfreebsd-ports-gnome-85d93c70f6888c1e5e0f24894cd3a65e435ba2b0.tar.gz
freebsd-ports-gnome-85d93c70f6888c1e5e0f24894cd3a65e435ba2b0.tar.zst
freebsd-ports-gnome-85d93c70f6888c1e5e0f24894cd3a65e435ba2b0.zip
Install shared library.
Bump PORTREVISION. PR: 54007 Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
-rw-r--r--lang/lua4/Makefile8
-rw-r--r--lang/lua4/pkg-plist4
2 files changed, 11 insertions, 1 deletions
diff --git a/lang/lua4/Makefile b/lang/lua4/Makefile
index f622e66c779e..8d83297d154e 100644
--- a/lang/lua4/Makefile
+++ b/lang/lua4/Makefile
@@ -7,7 +7,7 @@
PORTNAME= lua
PORTVERSION= 4.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= lang
MASTER_SITES= ftp://ftp.tecgraf.puc-rio.br/pub/lua/ \
ftp://csg.uwaterloo.ca/pub/lhf/lua/ \
@@ -21,6 +21,8 @@ COMMENT= Small, compilable scripting language providing easy access to C code
LATEST_LINK= lua4
MAN1= luac.1
WRKSRC= ${WRKDIR}/lua
+ALL_TARGET= all so
+INSTALLS_SHLIB= YES
do-install:
@ ${MKDIR} ${PREFIX}/share/doc/lua
@@ -36,7 +38,11 @@ do-install:
@ ${INSTALL_DATA} ${WRKSRC}/include/lualib.h ${PREFIX}/include
@ ${INSTALL_DATA} ${WRKSRC}/include/lauxlib.h ${PREFIX}/include
@ ${INSTALL_DATA} ${WRKSRC}/lib/liblua.a ${PREFIX}/lib
+ @ ${INSTALL_DATA} ${WRKSRC}/lib/liblua.so.4.0 ${PREFIX}/lib/liblua.so.4
+ @ ${LN} -s ${PREFIX}/lib/liblua.so.4 ${PREFIX}/lib/liblua.so
@ ${INSTALL_DATA} ${WRKSRC}/lib/liblualib.a ${PREFIX}/lib
+ @ ${INSTALL_DATA} ${WRKSRC}/lib/liblualib.so.4.0 ${PREFIX}/lib/liblualib.so.4
+ @ ${LN} -s ${PREFIX}/lib/liblualib.so.4 ${PREFIX}/lib/liblualib.so
post-install:
@strip ${PREFIX}/bin/lua
diff --git a/lang/lua4/pkg-plist b/lang/lua4/pkg-plist
index eeb818a5e377..13d30b6e8918 100644
--- a/lang/lua4/pkg-plist
+++ b/lang/lua4/pkg-plist
@@ -5,7 +5,11 @@ include/lua.h
include/luadebug.h
include/lualib.h
lib/liblua.a
+lib/liblua.so
+lib/liblua.so.4
lib/liblualib.a
+lib/liblualib.so
+lib/liblualib.so.4
share/doc/lua/idx.html
share/doc/lua/index.html
share/doc/lua/luac.html