diff options
author | obache <obache> | 2010-10-02 09:23:18 +0000 |
---|---|---|
committer | obache <obache> | 2010-10-02 09:23:18 +0000 |
commit | bb24d11907cfdc69de64d0f00dec39ef7a81a7e9 (patch) | |
tree | 006e627de40c1b285d9e2ccf4d25185e910e495d /www/kahua/Makefile | |
parent | 9270919313d3e284cd8dfefbf4ec16676e8a28a0 (diff) | |
download | pkgsrc-bb24d11907cfdc69de64d0f00dec39ef7a81a7e9.tar.gz |
add user-destdir installation support.
Diffstat (limited to 'www/kahua/Makefile')
-rw-r--r-- | www/kahua/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/www/kahua/Makefile b/www/kahua/Makefile index bc509c9b95a..141fbfc2736 100644 --- a/www/kahua/Makefile +++ b/www/kahua/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2009/06/30 00:07:24 joerg Exp $ +# $NetBSD: Makefile,v 1.6 2010/10/02 09:23:18 obache Exp $ DISTNAME= Kahua-1.0.1 PKGNAME= ${DISTNAME:C/Kahua/kahua/} @@ -15,9 +15,11 @@ MAKE_JOBS_SAFE= no DEPENDS+= Gauche>=0.8.8:../../lang/gauche +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFBASEDIR:Q} -CONFIGURE_ARGS+=--localstatedir=${DESTDIR}${VARBASE} +CONFIGURE_ARGS+=--localstatedir=${VARBASE} BUILD_DEFS+= VARBASE PKG_SYSCONFSUBDIR= kahua @@ -27,4 +29,11 @@ CONF_FILES= ${EGDIR}/kahua.conf ${PKG_SYSCONFDIR}/kahua.conf USE_TOOLS+= gzip makeinfo INFO_FILES= yes +INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} +INSTALL_MAKE_FLAGS+= sysconfdir=${DESTDIR}${PKG_SYSCONFDIR} +INSTALL_MAKE_FLAGS+= localstatedir=${DESTDIR}${VARBASE}/kahua +INSTALL_MAKE_FLAGS+= KAHUA_STATICDIR=${DESTDIR}${VARBASE}/kahua/static +INSTALL_MAKE_FLAGS+= KAHUA_CGI_DIR=${DESTDIR}${PREFIX}/libexec/kahua +INSTALL_MAKE_FLAGS+= KAHUA_CGILOG_DIR=${DESTDIR}${VARBASE}/kahua/cgilog + .include "../../mk/bsd.pkg.mk" |