aboutsummaryrefslogtreecommitdiff
path: root/lang/lua50
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-11-12 04:15:43 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-11-12 04:15:43 +0000
commit174afe5c1b1b5f38489ee5bd0e3055fec418675c (patch)
treeb3b2906dac5e10c29862e4917fc5f6a94aae5b7b /lang/lua50
parentfad8459848929798e300670ba30c73ece6e2e765 (diff)
downloadports-174afe5c1b1b5f38489ee5bd0e3055fec418675c.tar.gz
ports-174afe5c1b1b5f38489ee5bd0e3055fec418675c.zip
Notes
Diffstat (limited to 'lang/lua50')
-rw-r--r--lang/lua50/Makefile5
-rw-r--r--lang/lua50/pkg-plist16
2 files changed, 15 insertions, 6 deletions
diff --git a/lang/lua50/Makefile b/lang/lua50/Makefile
index b6c65a491c4b..d7ace6c156f4 100644
--- a/lang/lua50/Makefile
+++ b/lang/lua50/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/lua50/pkg-plist b/lang/lua50/pkg-plist
index dbf0310bef16..24fa1e5546b3 100644
--- a/lang/lua50/pkg-plist
+++ b/lang/lua50/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%%