Date: Fri, 28 Jul 2006 11:36:50 +0400 (MSD) From: Stanislav Sedov <ssedov@mbsd.msk.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/100964: [PATCH] lang/Sather: fix file permissions Message-ID: <20060728073650.047951209D@fonon.realnet> Resent-Message-ID: <200607280740.k6S7eEmg039450@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 100964 >Category: ports >Synopsis: [PATCH] lang/Sather: fix file permissions >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jul 28 07:40:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Stanislav Sedov >Release: FreeBSD 7.0-CURRENT i386 >Organization: MBSD labs, Inc. >Environment: System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Sun Jun 18 20:51:36 MSD 2006 >Description: - Fix installed files's permissions - Use PORTDOCS macro >How-To-Repeat: >Fix: --- sather-1.2.1_3.patch begins here --- diff -ruN --exclude=CVS /usr/ports/lang/Sather/Makefile /var/tmp/Sather/Makefile --- /usr/ports/lang/Sather/Makefile Mon Jul 24 03:38:15 2006 +++ /var/tmp/Sather/Makefile Fri Jul 28 11:30:11 2006 @@ -8,7 +8,7 @@ PORTNAME= sather PORTVERSION= 1.2.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -25,6 +25,8 @@ INFO= sather sather-mode sather-tutorial +PORTDOCS= * + .include <bsd.port.pre.mk> .if ${OSVERSION} >= 501000 @@ -86,6 +88,8 @@ --exclude "*Makefile*" ${obj} | \ ${TAR} -C ${PREFIX}/lib/sather --unlink -xf - @${CHOWN} -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/sather/${obj} + @${FIND} ${PREFIX}/lib/sather/${obj}/ -type f -exec ${CHMOD} \ + ${LIBMODE} {} \; .endfor .for file in sabrowse.1 sacomp.1 ${INSTALL_MAN} ${WRKSRC}/Doc/man/man1/${file} ${MANPREFIX}/man/man1 @@ -101,6 +105,7 @@ ${TAR} -C ${WRKSRC}/Doc --exclude '*GPL' --exclude man -cf - . | \ ${TAR} -C ${DOCSDIR} --unlink -xf - @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} + @${FIND} ${DOCSDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \; .endif .include <bsd.port.post.mk> diff -ruN --exclude=CVS /usr/ports/lang/Sather/pkg-plist /var/tmp/Sather/pkg-plist --- /usr/ports/lang/Sather/pkg-plist Sun Dec 4 23:33:25 2005 +++ /var/tmp/Sather/pkg-plist Fri Jul 28 11:27:53 2006 @@ -396,44 +396,10 @@ lib/sather/System/Platforms/tcltk/sather.xbm lib/sather/System/Platforms/tcltk/sathermask.xbm lib/sather/System/Platforms/tcltk/startup.tcl -%%PORTDOCS%%share/doc/sather/BugReport -%%PORTDOCS%%share/doc/sather/Bugs -%%PORTDOCS%%share/doc/sather/Changes -%%PORTDOCS%%share/doc/sather/Contributing -%%PORTDOCS%%share/doc/sather/Debugging.html -%%PORTDOCS%%share/doc/sather/FAQ -%%PORTDOCS%%share/doc/sather/GC-incremental -%%PORTDOCS%%share/doc/sather/Gui/Doc.fmk.ps -%%PORTDOCS%%share/doc/sather/Gui/index.html -%%PORTDOCS%%share/doc/sather/Gui/install -%%PORTDOCS%%share/doc/sather/Installation.html -%%PORTDOCS%%share/doc/sather/License -%%PORTDOCS%%share/doc/sather/PP.description -%%PORTDOCS%%share/doc/sather/Sather-1.1.ps -%%PORTDOCS%%share/doc/sather/ToDo -%%PORTDOCS%%share/doc/sather/WebBrowser.html -%%PORTDOCS%%share/doc/sather/compiler.ps -%%PORTDOCS%%share/doc/sather/header/README -%%PORTDOCS%%share/doc/sather/header/c -%%PORTDOCS%%share/doc/sather/header/c-lgpl -%%PORTDOCS%%share/doc/sather/header/h -%%PORTDOCS%%share/doc/sather/header/h-lgpl -%%PORTDOCS%%share/doc/sather/header/make -%%PORTDOCS%%share/doc/sather/header/module -%%PORTDOCS%%share/doc/sather/header/sa -%%PORTDOCS%%share/doc/sather/header/sa-lgpl -%%PORTDOCS%%share/doc/sather/index.html -%%PORTDOCS%%share/doc/sather/iterators.ps -%%PORTDOCS%%share/doc/sather/pSather-notes -%%PORTDOCS%%share/doc/sather/programmer-manual.ps -%%PORTDOCS%%share/doc/sather/runtime_spec share/emacs/site-lisp/hl319.el share/emacs/site-lisp/sather-lib.el share/emacs/site-lisp/sather-module.el share/emacs/site-lisp/sather.el -%%PORTDOCS%%@dirrm share/doc/sather/header -%%PORTDOCS%%@dirrm share/doc/sather/Gui -%%PORTDOCS%%@dirrm share/doc/sather @dirrm lib/sather/System/Platforms/tcltk/init @dirrm lib/sather/System/Platforms/tcltk @dirrm lib/sather/System/Platforms/freebsd --- sather-1.2.1_3.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060728073650.047951209D>