diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2003-07-23 17:50:50 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2003-07-23 17:50:50 +0000 |
commit | 55b8c1aac8b9840fb32ec76c6ed28adbc319657b (patch) | |
tree | 99426746b11123c72384fe8122147b2d20a520d6 /lang/lua4 | |
parent | Fix typo in ports/graphics/giram/Makefile. (diff) |
Install shared library.
Bump PORTREVISION.
PR: 54007
Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Notes
Notes:
svn path=/head/; revision=85479
Diffstat (limited to 'lang/lua4')
-rw-r--r-- | lang/lua4/Makefile | 8 | ||||
-rw-r--r-- | lang/lua4/pkg-plist | 4 |
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 |