diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 21:08:34 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 21:08:34 +0000 |
commit | 81874cb0504f7bed0b985a471f2621ad5119291f (patch) | |
tree | c9a41b0911d2204f0ceb7e24df240249b710e648 /textproc/lua-expat | |
parent | 04c98a1857f8ec13b78d1923a784bdbfb194b08c (diff) | |
download | pkgsrc-81874cb0504f7bed0b985a471f2621ad5119291f.tar.gz |
user-destdir support
Diffstat (limited to 'textproc/lua-expat')
-rw-r--r-- | textproc/lua-expat/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/textproc/lua-expat/Makefile b/textproc/lua-expat/Makefile index 639a432dc5e..e095eef659a 100644 --- a/textproc/lua-expat/Makefile +++ b/textproc/lua-expat/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2009/05/20 00:58:28 wiz Exp $ +# $NetBSD: Makefile,v 1.13 2009/07/07 21:10:16 joerg Exp $ # DISTNAME= luaexpat-1.0a @@ -11,17 +11,18 @@ MAINTAINER= pancake@phreaker.net HOMEPAGE= http://www.keplerproject.org/luaexpat/ COMMENT= XML parser for LUA based on expat +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake MAKE_FILE= makefile CFLAGS+= -fPIC -INSTALLATION_DIRS= lib +INSTALLATION_DIRS= lib share/examples/lua do-install: - ${INSTALL_DATA} ${WRKSRC}/liblxp.so ${PREFIX}/lib/liblualxp.so - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/lua - ${INSTALL_DATA} ${WRKSRC}/test.lua ${PREFIX}/share/examples/lua/lxp.lua + ${INSTALL_DATA} ${WRKSRC}/liblxp.so ${DESTDIR}${PREFIX}/lib/liblualxp.so + ${INSTALL_DATA} ${WRKSRC}/test.lua ${DESTDIR}${PREFIX}/share/examples/lua/lxp.lua .include "../../textproc/expat/buildlink3.mk" .include "../../lang/lua/buildlink3.mk" |