summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortaca <taca>2011-05-12 14:49:23 +0000
committertaca <taca>2011-05-12 14:49:23 +0000
commita77c769819aee7e5e12b867aaefd2918bae4e2df (patch)
tree36feec08887ff6265edeffa9e650ee5a1f225c14 /www
parentb6980cfb67e3c80cb807e5959da7e11ba86155a6 (diff)
downloadpkgsrc-a77c769819aee7e5e12b867aaefd2918bae4e2df.tar.gz
Make translation files as the same owner as other Contao's files.
Bump PKGREVISIION.
Diffstat (limited to 'www')
-rw-r--r--www/contao29-translations/INSTALL15
-rw-r--r--www/contao29-translations/Makefile3
2 files changed, 17 insertions, 1 deletions
diff --git a/www/contao29-translations/INSTALL b/www/contao29-translations/INSTALL
new file mode 100644
index 00000000000..441839d5c58
--- /dev/null
+++ b/www/contao29-translations/INSTALL
@@ -0,0 +1,15 @@
+# $NetBSD: INSTALL,v 1.1 2011/05/12 14:49:23 taca Exp $
+
+CT_WEBDIR="@PREFIX@/@CT_WEBDIR@"
+CT_OWN="@WWWOWN@"
+CT_GRP="@WWWGRP@"
+
+case ${STAGE} in
+POST-INSTALL)
+ cd ${CT_WEBDIR}/system/modules && \
+ for i in */languages; do
+ ${CHGRP} -R ${CT_GRP} $i
+ ${CHOWN} -R ${CT_OWN} $i
+ done
+ ;;
+esac
diff --git a/www/contao29-translations/Makefile b/www/contao29-translations/Makefile
index f46d09ed2f9..63094bf9d0d 100644
--- a/www/contao29-translations/Makefile
+++ b/www/contao29-translations/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.44 2011/05/08 16:24:13 taca Exp $
+# $NetBSD: Makefile,v 1.45 2011/05/12 14:49:23 taca Exp $
#
DISTNAME= contao${CT_VER}-translations-${VERS}
+PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= # defined for each distfiles
DISTFILES= ${CT_DISTFILES}