diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2007-01-03 03:53:46 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2007-01-03 03:53:46 +0000 |
commit | cb391c549ccc1db2aa022e55dcce5c3f227b10b9 (patch) | |
tree | ae96464155c9b12ee84d04081aeda27566f095d5 /databases | |
parent | -Update to 0.2.5. (diff) |
Fix wrong ownership of installed files. Bump PORTREVISION.
Submitted by: TAOKA Fumiyoshi
PR: ports/104887
Notes
Notes:
svn path=/head/; revision=181315
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 |