diff options
author | obache <obache@pkgsrc.org> | 2011-03-21 11:39:27 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-03-21 11:39:27 +0000 |
commit | d116d708feef96c282a2fdfd893e6182ea6aa026 (patch) | |
tree | d536fc4c0bbfbf4cc8eb290b66112839b00c9eda /devel | |
parent | dee2543f222fa7d22112b35e038dbd5c278e40c2 (diff) | |
download | pkgsrc-d116d708feef96c282a2fdfd893e6182ea6aa026.tar.gz |
* add destdir installation support.
* fix installation for platfoms that have no 'root' user and no 'bin' group.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/rt-mysql/Makefile.common | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/rt-mysql/Makefile.common b/devel/rt-mysql/Makefile.common index 4f8652fa644..d6380fc7411 100644 --- a/devel/rt-mysql/Makefile.common +++ b/devel/rt-mysql/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.17 2009/06/13 06:46:48 rillig Exp $ +# $NetBSD: Makefile.common,v 1.18 2011/03/21 11:39:27 obache Exp $ # used by devel/rt-mysql/Makefile # used by devel/rt-pgsql/Makefile @@ -11,6 +11,8 @@ HOMEPAGE= http://www.bestpractical.com/rt/ COMMENT= Industrial-grade ticketing system CONFLICTS= rt-*-[0-9]* +PKG_DESTDIR_SUPPORT= destdir + .include "../../mk/bsd.prefs.mk" RT_GROUP?= rt @@ -103,6 +105,12 @@ SUBST_VARS.rt= PREFIX RT_GROUP \ RT_DB_TYPE RT_DB_DBA RT_DB_DBA_PASSWORD RT_DB_DATABASE RT_DB_USER \ RT_DB_PASS RT_DB_HOME RT_DB_HOST RT_DB_PORT RT_WEB_USER RT_WEB_GROUP +INSTALL_MAKE_FLAGS+= BIN_OWNER=${BINOWN} +INSTALL_MAKE_FLAGS+= LIBS_OWNER=${LIBOWN} +INSTALL_MAKE_FLAGS+= LIBS_GROUP=${LIBGRP} +INSTALL_MAKE_FLAGS+= RTGROUP=${RT_GROUP} +USERGROUP_PHASE= pre-install + post-extract: @${STEP_MSG} "Removing CVS directories from work directory" ${FIND} ${WRKSRC} -name CVS -type d -print | ${XARGS} ${RM} -rf |