1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

add .so support

utilize DOCSDIR

PR:		59199
Submitted by:	maintainer
This commit is contained in:
Ying-Chieh Liao 2003-11-12 04:15:43 +00:00
parent fad8459848
commit 174afe5c1b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93785
4 changed files with 30 additions and 12 deletions

View File

@ -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:

View File

@ -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%%

View File

@ -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:

View File

@ -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%%