diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-05-24 22:23:48 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-05-24 22:23:48 +0800 |
commit | 51379ff4dcfc30d7905d5fa13f5abcc0adf2e488 (patch) | |
tree | c1d39e8495075aa10681262e5d0ffb78942df5ba /devel | |
parent | 7806794d9e602afecee5a7cdb43942b09bda0936 (diff) | |
download | freebsd-ports-gnome-51379ff4dcfc30d7905d5fa13f5abcc0adf2e488.tar.gz freebsd-ports-gnome-51379ff4dcfc30d7905d5fa13f5abcc0adf2e488.tar.zst freebsd-ports-gnome-51379ff4dcfc30d7905d5fa13f5abcc0adf2e488.zip |
Stageify.
Approved by: portmgr@
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) |