diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-05-24 14:23:48 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-05-24 14:23:48 +0000 |
commit | ec3f52c756fab47eecd5cc43114f4ab3d20812d6 (patch) | |
tree | c1d39e8495075aa10681262e5d0ffb78942df5ba /devel | |
parent | 7d971a8b58408d894440def0c4baa051be129227 (diff) | |
download | ports-ec3f52c756fab47eecd5cc43114f4ab3d20812d6.tar.gz ports-ec3f52c756fab47eecd5cc43114f4ab3d20812d6.zip |
Stageify.
Approved by: portmgr@
Notes
Notes:
svn path=/head/; revision=355038
Diffstat (limited to 'devel')
-rw-r--r-- | devel/luafilesystem/Makefile | 6 | ||||
-rw-r--r-- | devel/luafilesystem/files/patch-Makefile | 14 |
2 files changed, 12 insertions, 8 deletions
diff --git a/devel/luafilesystem/Makefile b/devel/luafilesystem/Makefile index 0d04d3d88fcf..1fa12567e853 100644 --- a/devel/luafilesystem/Makefile +++ b/devel/luafilesystem/Makefile @@ -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> diff --git a/devel/luafilesystem/files/patch-Makefile b/devel/luafilesystem/files/patch-Makefile index 080f8a2d3cf7..1aedb5abca66 100644 --- a/devel/luafilesystem/files/patch-Makefile +++ b/devel/luafilesystem/files/patch-Makefile @@ -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) |