svn commit: r378851 - in head/devel/luafilesystem: . files
Pawel Pekala
pawel at FreeBSD.org
Wed Feb 11 19:50:57 UTC 2015
Author: pawel
Date: Wed Feb 11 19:50:55 2015
New Revision: 378851
URL: https://svnweb.freebsd.org/changeset/ports/378851
QAT: https://qat.redports.org/buildarchive/r378851/
Log:
- Update to version 1.6.3 [1]
- Remove MASTER_SITES line, not needed when using USE_GITHUB
- Remove optional installation of DOCS, staging takes of that
- Switch to INSTALL_DATA when installing docs files
PR: 196826 [1]
Submitted by: olevole at olevole.ru [1]
Approved by: fiziologus at gmail.com (maintainer)
Modified:
head/devel/luafilesystem/Makefile
head/devel/luafilesystem/distinfo
head/devel/luafilesystem/files/patch-Makefile
Modified: head/devel/luafilesystem/Makefile
==============================================================================
--- head/devel/luafilesystem/Makefile Wed Feb 11 19:37:56 2015 (r378850)
+++ head/devel/luafilesystem/Makefile Wed Feb 11 19:50:55 2015 (r378851)
@@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= luafilesystem
-PORTVERSION= 1.6.2
+PORTVERSION= 1.6.3
CATEGORIES= devel
-MASTER_SITES= GH
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
MAINTAINER= fiziologus at gmail.com
@@ -16,9 +15,8 @@ USES?= lua
USE_GITHUB= yes
GH_ACCOUNT= keplerproject
-GH_PROGECT= ${PORTNAME}
-GH_TAGNAME= v${PORTVERSION:S/./_/g}
-GH_COMMIT= 9557350
+GH_TAGNAME= v_${PORTVERSION:S/./_/g}
+GH_COMMIT= 8014725
ALL_TARGET= lib
@@ -29,8 +27,6 @@ MAKE_ARGS+= INCS="-I${LUA_INCDIR}"
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-patch:
${REINPLACE_CMD} -e \
"s|%%PREFIX%%|${PREFIX}| ; \
@@ -38,9 +34,7 @@ post-patch:
s|%%INCDIR%%|${LUA_INCDIR}|" ${WRKSRC}/config
post-install:
-.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR} && \
- ${CP} ${WRKSRC}/doc/us/* ${STAGEDIR}${DOCSDIR}
-.endif
+ ${INSTALL_DATA} ${WRKSRC}/doc/us/* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
Modified: head/devel/luafilesystem/distinfo
==============================================================================
--- head/devel/luafilesystem/distinfo Wed Feb 11 19:37:56 2015 (r378850)
+++ head/devel/luafilesystem/distinfo Wed Feb 11 19:50:55 2015 (r378851)
@@ -1,2 +1,2 @@
-SHA256 (luafilesystem-1.6.2.tar.gz) = de5cffd7c623deaea37266e7e8e57595b6ca8cc19e80dfa1298809393975c56f
-SIZE (luafilesystem-1.6.2.tar.gz) = 28997
+SHA256 (luafilesystem-1.6.3.tar.gz) = d1f88dbb59143692e26fc93041dbda1b46e1deb10db873edf32bc964f4148738
+SIZE (luafilesystem-1.6.3.tar.gz) = 30379
Modified: head/devel/luafilesystem/files/patch-Makefile
==============================================================================
--- head/devel/luafilesystem/files/patch-Makefile Wed Feb 11 19:37:56 2015 (r378850)
+++ head/devel/luafilesystem/files/patch-Makefile Wed Feb 11 19:50:55 2015 (r378851)
@@ -1,12 +1,15 @@
---- Makefile.orig 2009-10-21 04:54:35.000000000 +0800
-+++ Makefile 2014-05-24 22:22:09.262221179 +0800
-@@ -12,11 +12,11 @@ OBJS= src/$T.o
+--- Makefile.orig 2015-01-17 21:15:55.311388044 +0300
++++ Makefile 2015-01-17 21:16:41.813384957 +0300
+@@ -12,14 +12,14 @@
lib: src/lfs.so
src/lfs.so: $(OBJS)
- MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; $(CC) $(CFLAGS) $(LIB_OPTION) -o src/lfs.so $(OBJS)
+ $(CC) $(CFLAGS) $(LIB_OPTION) -o src/lfs.so $T.o
+ test: lib
+ LUA_CPATH=./src/?.so lua tests/test.lua
+
install:
- mkdir -p $(LUA_LIBDIR)
- cp src/lfs.so $(LUA_LIBDIR)
More information about the svn-ports-head
mailing list