diff options
author | vanilla <vanilla@FreeBSD.org> | 2008-03-19 15:12:15 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2008-03-19 15:12:15 +0800 |
commit | a8fdcbcaed33efa4e021e5cdc8ca0c18103805c9 (patch) | |
tree | 6ab257dd78c05bcb14479408e8e2fcf807cd2b93 /lang | |
parent | c61dfff356b9f27e0771af44eaf53cda437617d8 (diff) | |
download | freebsd-ports-graphics-a8fdcbcaed33efa4e021e5cdc8ca0c18103805c9.tar.gz freebsd-ports-graphics-a8fdcbcaed33efa4e021e5cdc8ca0c18103805c9.tar.zst freebsd-ports-graphics-a8fdcbcaed33efa4e021e5cdc8ca0c18103805c9.zip |
Upgrade to 5.1.3.
PR: ports/120542
Submitted by: Hirohisa Yamaguchi <umq at ueo dot co dot jp>
Approved by: maintainer
Diffstat (limited to 'lang')
-rw-r--r-- | lang/lua/Makefile | 21 | ||||
-rw-r--r-- | lang/lua/distinfo | 6 | ||||
-rw-r--r-- | lang/lua/pkg-plist | 2 |
3 files changed, 22 insertions, 7 deletions
diff --git a/lang/lua/Makefile b/lang/lua/Makefile index 04373318d45..ab160d7ef63 100644 --- a/lang/lua/Makefile +++ b/lang/lua/Makefile @@ -6,8 +6,7 @@ # PORTNAME= lua -PORTVERSION= 5.1.1 -PORTREVISION= 2 +PORTVERSION= 5.1.3 CATEGORIES= lang MASTER_SITES= http://www.lua.org/ftp/ \ ftp://ftp.tecgraf.puc-rio.br/pub/lua/ \ @@ -21,7 +20,8 @@ COMMENT= Small, compilable scripting language providing easy access to C code USE_LUA= 5.1 LUA_COMPS= # only define variables -ALL_TARGET= bsd +ALL_TARGET= freebsd +USE_GNOME= pkgconfig MAN1= lua-${LUA_VER}.1 luac-${LUA_VER}.1 DOCSDIR= ${PREFIX}/share/doc/${LUA_SUBDIR} @@ -33,10 +33,21 @@ LUA_MAN= ${LUA_BIN:S/$/.1/} post-patch: @${REINPLACE_CMD} -Ee \ - 's|^(CC=).*|\1 ${CC}| ; \ + '/^INSTALL_.*=/s/INSTALL_TOP/prefix/ ; \ + s|^(CC=).*|\1 ${CC}| ; \ s|^(CFLAGS=)|\1 ${CFLAGS}| ; \ s|/usr/local|${PREFIX}|' \ ${WRKSRC}/Makefile ${WRKSRC}/src/Makefile + @${REINPLACE_CMD} -Ee \ + 's|^(prefix=).*|\1 ${PREFIX}| ; \ + s|^(libdir=).*|\1 ${LUA_LIBDIR}| ; \ + s|^(includedir=).*|\1 ${LUA_INCDIR}| ; \ + s|^(INSTALL_BIN=).*|\1 ${LUA_BINDIR}| ; \ + s|^(INSTALL_INC=).*|\1 ${LUA_INCDIR}| ; \ + s|^(INSTALL_LIB=).*|\1 ${LUA_LIBDIR}| ; \ + s|^(INSTALL_CMOD=).*|\1 ${LUA_MODLIBDIR}| ; \ + s|^(INSTALL_LMOD=).*|\1 ${LUA_MODSHAREDIR}|' \ + ${WRKSRC}/etc/lua.pc && ${RM} ${WRKSRC}/etc/lua.pc.bak post-build: @${RM} -f ${WRKSRC}/test/lua ${WRKSRC}/test/luac @@ -71,6 +82,8 @@ do-install: # Module directories. ${MKDIR} ${LUA_MODLIBDIR} ${MKDIR} ${LUA_MODSHAREDIR} +# pkg-config file. + ${INSTALL_DATA} ${WRKSRC}/etc/lua.pc ${PREFIX}/libdata/pkgconfig .if ${MACHINE_ARCH:L} == "amd64" CFLAGS+= -fPIC diff --git a/lang/lua/distinfo b/lang/lua/distinfo index 2066f554ddc..8347ba2d828 100644 --- a/lang/lua/distinfo +++ b/lang/lua/distinfo @@ -1,3 +1,3 @@ -MD5 (lua-5.1.1.tar.gz) = 22f4f912f20802c11006fe9b84d5c461 -SHA256 (lua-5.1.1.tar.gz) = c5daeed0a75d8e4dd2328b7c7a69888247868154acbda69110e97d4a6e17d1f0 -SIZE (lua-5.1.1.tar.gz) = 207810 +MD5 (lua-5.1.3.tar.gz) = a70a8dfaa150e047866dc01a46272599 +SHA256 (lua-5.1.3.tar.gz) = 6b5df2edaa5e02bf1a2d85e1442b2e329493b30b0c0780f77199d24f087d296d +SIZE (lua-5.1.3.tar.gz) = 215817 diff --git a/lang/lua/pkg-plist b/lang/lua/pkg-plist index 9655c72683b..7cdc95fa35f 100644 --- a/lang/lua/pkg-plist +++ b/lang/lua/pkg-plist @@ -10,7 +10,9 @@ bin/luac-%%LUA_VER%% %%LUA_INCDIR%%/luaconf.h %%LUA_INCDIR%%/lualib.h %%LUA_LIBDIR%%/liblua.a +libdata/pkgconfig/lua.pc %%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/amazon.gif %%PORTDOCS%%%%DOCSDIR%%/contents.html %%PORTDOCS%%%%DOCSDIR%%/etc/Makefile %%PORTDOCS%%%%DOCSDIR%%/etc/README |