summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2009-06-14 13:39:22 +0000
committertaca <taca@pkgsrc.org>2009-06-14 13:39:22 +0000
commitf171e19bd3545b3779534450701e44b1f1c039ae (patch)
tree2ba14250296e45850ab140507b851e93a701bd64
parent7a70e5118545ecb268c178e3b625968c82ba06f6 (diff)
downloadpkgsrc-f171e19bd3545b3779534450701e44b1f1c039ae.tar.gz
Fix critical problem of INSTALL script by previous commit.
Bump PKGREVISION.
-rw-r--r--www/opengoo/INSTALL7
-rw-r--r--www/opengoo/Makefile8
2 files changed, 8 insertions, 7 deletions
diff --git a/www/opengoo/INSTALL b/www/opengoo/INSTALL
index 17320ac4f0e..6e9e244d7f8 100644
--- a/www/opengoo/INSTALL
+++ b/www/opengoo/INSTALL
@@ -1,10 +1,11 @@
-# $NetBSD: INSTALL,v 1.1 2009/06/14 11:38:34 taca Exp $
+# $NetBSD: INSTALL,v 1.2 2009/06/14 13:39:22 taca Exp $
OG_DIR="@PREFIX@/@OG_DIR@"
+WWW_USER="@APACHE_USER@"
case ${STAGE} in
-DEINSTALL)
+POST-INSTALL)
# enable to edit language translation.
- (cd "${OG_DIR}"; ${CHOWN} -R language)
+ (cd "${OG_DIR}"; ${CHOWN} -R ${WWW_USER} language)
;;
esac
diff --git a/www/opengoo/Makefile b/www/opengoo/Makefile
index 055a8f52104..8b8afdb6aef 100644
--- a/www/opengoo/Makefile
+++ b/www/opengoo/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2009/06/14 11:38:34 taca Exp $
+# $NetBSD: Makefile,v 1.3 2009/06/14 13:39:22 taca Exp $
#
DISTNAME= opengoo_${VER}
PKGNAME= opengoo-${VER}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opengoo/}
EXTRACT_SUFX= .zip
@@ -32,8 +32,8 @@ OWN_DIRS_PERMS+= ${OG_DIR}/tmp ${BINOWN} ${APACHE_GROUP} 0770
OWN_DIRS_PERMS+= ${OG_DIR}/config ${BINOWN} ${APACHE_GROUP} 0770
MAKE_DIRS_PERMS+= ${OG_DIR}/tmp/saveatt ${BINOWN} ${APACHE_GROUP} 0770
-BUILD_DEFS+= APACHE_GROUP
-FILES_SUBST+= OG_DIR=${OG_DIR}
+BUILD_DEFS+= APACHE_GROUP APACHE_USER
+FILES_SUBST+= OG_DIR=${OG_DIR} APACHE_USER=${APACHE_USER}
PLIST_SUBST+= OG_DIR=${OG_DIR}
.include "../../mk/bsd.prefs.mk"