diff options
author | hrs <hrs@FreeBSD.org> | 2007-01-03 11:53:46 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2007-01-03 11:53:46 +0800 |
commit | 7bb6d4f0c4bcadb5b7880f447bc4b4a593c09e8c (patch) | |
tree | 7d52969f848ba21974233d0a9e155527e4cd70c2 /databases | |
parent | 6ff84b18d181522e7df04d865f27253eb8fbc5d4 (diff) | |
download | freebsd-ports-gnome-7bb6d4f0c4bcadb5b7880f447bc4b4a593c09e8c.tar.gz freebsd-ports-gnome-7bb6d4f0c4bcadb5b7880f447bc4b4a593c09e8c.tar.zst freebsd-ports-gnome-7bb6d4f0c4bcadb5b7880f447bc4b4a593c09e8c.zip |
Fix wrong ownership of installed files. Bump PORTREVISION.
Submitted by: TAOKA Fumiyoshi
PR: ports/104887
Diffstat (limited to 'databases')
-rw-r--r-- | databases/grass-i18n/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/databases/grass-i18n/Makefile b/databases/grass-i18n/Makefile index 1430643eb779..e62932e2be5c 100644 --- a/databases/grass-i18n/Makefile +++ b/databases/grass-i18n/Makefile @@ -6,6 +6,7 @@ PORTNAME= grass-i18n PORTVERSION= 5.0.3 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= http://www.grass-japan.org/FOSS4G/GRASS/:grass \ http://www.grass-japan.org/FOSS4G/ipafonts/:ipafonts @@ -98,6 +99,10 @@ post-extract: ${MKDIR} ${WRKDIR}/tcltkgrass-i18n cd ${WRKDIR}/tcltkgrass-i18n && ${TAR} xzf \ ${DISTDIR}/${FILES_TKI18N} + if [ `${ID} -u` = 0 ]; then \ + ${CHMOD} -R ug-s ${WRKDIR}/tcltkgrass-i18n; \ + ${CHOWN} -R 0:0 ${WRKDIR}/tcltkgrass-i18n; \ + fi ${RM} -rf `${FIND} ${WRKDIR}/tcltkgrass-i18n -type d -a -name cvs` .for D in docs main module script ${MV} ${WRKSRC}/src/tcltkgrass/${D} ${WRKSRC}/src/tcltkgrass/${D}.orig |