Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 May 2014 14:23:49 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355038 - in head/devel/luafilesystem: . files
Message-ID:  <201405241423.s4OENnsX024122@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Sat May 24 14:23:48 2014
New Revision: 355038
URL: http://svnweb.freebsd.org/changeset/ports/355038
QAT: https://qat.redports.org/buildarchive/r355038/

Log:
  Stageify.
  
  Approved by:	portmgr@

Modified:
  head/devel/luafilesystem/Makefile
  head/devel/luafilesystem/files/patch-Makefile

Modified: head/devel/luafilesystem/Makefile
==============================================================================
--- head/devel/luafilesystem/Makefile	Sat May 24 14:18:31 2014	(r355037)
+++ head/devel/luafilesystem/Makefile	Sat May 24 14:23:48 2014	(r355038)
@@ -27,8 +27,6 @@ PORTDOCS=	*
 
 MAKE_ARGS+=	INCS="-I${LOCALBASE}/include/${LUA_SUBDIR}"
 
-NO_STAGE=	yes
-
 OPTIONS_DEFINE=	DOCS
 
 .include <bsd.port.options.mk>
@@ -41,8 +39,8 @@ post-patch:
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR} && \
-	${CP} ${WRKSRC}/doc/us/* ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR} && \
+	${CP} ${WRKSRC}/doc/us/* ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/devel/luafilesystem/files/patch-Makefile
==============================================================================
--- head/devel/luafilesystem/files/patch-Makefile	Sat May 24 14:18:31 2014	(r355037)
+++ head/devel/luafilesystem/files/patch-Makefile	Sat May 24 14:23:48 2014	(r355038)
@@ -1,6 +1,6 @@
---- Makefile.orig	2009-10-21 00:54:35.000000000 +0400
-+++ Makefile	2012-12-15 17:30:48.000000000 +0400
-@@ -12,7 +12,7 @@
+--- 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
  lib: src/lfs.so
  
  src/lfs.so: $(OBJS)
@@ -8,4 +8,10 @@
 +	$(CC) $(CFLAGS) $(LIB_OPTION) -o src/lfs.so $T.o
  
  install:
- 	mkdir -p $(LUA_LIBDIR)
+-	mkdir -p $(LUA_LIBDIR)
+-	cp src/lfs.so $(LUA_LIBDIR)
++	mkdir -p $(DESTDIR)$(LUA_LIBDIR)
++	cp src/lfs.so $(DESTDIR)$(LUA_LIBDIR)
+ 
+ clean:
+ 	rm -f src/lfs.so $(OBJS)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405241423.s4OENnsX024122>