diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-11-12 04:15:43 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-11-12 04:15:43 +0000 |
commit | 174afe5c1b1b5f38489ee5bd0e3055fec418675c (patch) | |
tree | b3b2906dac5e10c29862e4917fc5f6a94aae5b7b /lang/lua | |
parent | Update to 1.9.5. (diff) |
add .so support
utilize DOCSDIR
PR: 59199
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=93785
Diffstat (limited to 'lang/lua')
-rw-r--r-- | lang/lua/Makefile | 5 | ||||
-rw-r--r-- | lang/lua/pkg-plist | 16 |
2 files changed, 15 insertions, 6 deletions
diff --git a/lang/lua/Makefile b/lang/lua/Makefile index b6c65a491c4b..d7ace6c156f4 100644 --- a/lang/lua/Makefile +++ b/lang/lua/Makefile @@ -7,6 +7,7 @@ PORTNAME= lua PORTVERSION= 5.0 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://www.lua.org/ftp/ \ ftp://ftp.tecgraf.puc-rio.br/pub/lua/ \ @@ -20,6 +21,9 @@ COMMENT= Small, compilable scripting language providing easy access to C code USE_REINPLACE= yes MAN1= lua.1 luac.1 +ALL_TARGET= all so +INSTALL_TARGET= install soinstall +INSTALLS_SHLIB= YES do-configure: ${REINPLACE_CMD} \ @@ -32,6 +36,7 @@ do-configure: -e 's|^\(INSTALL_DATA=\).*$$|\1 ${INSTALL_DATA}|' \ -e 's|^#\(USERCONF.*READLINE.*\)$$|\1|' \ -e 's|^\(EXTRA_LIBS=\).*$$|\1 -lm -lreadline -lhistory -lncurses|' \ + -e 's|V=5.0|V=5|' \ ${WRKSRC}/config post-install: diff --git a/lang/lua/pkg-plist b/lang/lua/pkg-plist index dbf0310bef16..24fa1e5546b3 100644 --- a/lang/lua/pkg-plist +++ b/lang/lua/pkg-plist @@ -4,10 +4,14 @@ include/lauxlib.h include/lua.h include/lualib.h lib/liblua.a +lib/liblua.so +lib/liblua.so.5 lib/liblualib.a -share/doc/lua/logo.gif -share/doc/lua/lua.html -share/doc/lua/luac.html -share/doc/lua/manual.html -share/doc/lua/readme.html -@dirrm share/doc/lua +lib/liblualib.so +lib/liblualib.so.5 +%%DOCSDIR%%/logo.gif +%%DOCSDIR%%/lua.html +%%DOCSDIR%%/luac.html +%%DOCSDIR%%/manual.html +%%DOCSDIR%%/readme.html +@dirrm %%DOCSDIR%% |