ok ? Stumbled across a git repo where i wanted to track file
permissions..

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/git/Makefile,v
retrieving revision 1.146
diff -u -r1.146 Makefile
--- Makefile    12 Mar 2016 23:23:38 -0000      1.146
+++ Makefile    16 Mar 2016 08:37:51 -0000
@@ -9,6 +9,7 @@
 PKGNAME-main = ${DISTNAME}
 PKGNAME-svn =  git-svn-${V}
 PKGNAME-x11 =  git-x11-${V}
+REVISION-main =        0
 CATEGORIES =   devel
 
 HOMEPAGE =     http://git-scm.com/
@@ -105,6 +106,8 @@
        ${INSTALL_DATA} ${WRKBUILD}/contrib/hooks/multimail/$f \
                ${PREFIX}/share/git-core/templates/hooks/multimail
 .endfor
+       ${INSTALL_DATA} ${WRKBUILD}/contrib/hooks/setgitperms.perl \
+               ${PREFIX}/share/git-core/templates/hooks/setgitperms.perl
        chown -R ${BINOWN}:${BINGRP} ${PREFIX}/libexec/git
        cd ${WRKBUILD}/gitweb && \
                ${MAKE_ENV} ${MAKE_PROGRAM} 
gitwebdir=${TRUEPREFIX}/share/gitweb install
Index: pkg/PLIST-main
===================================================================
RCS file: /cvs/ports/devel/git/pkg/PLIST-main,v
retrieving revision 1.67
diff -u -r1.67 PLIST-main
--- pkg/PLIST-main      7 Mar 2016 07:33:37 -0000       1.67
+++ pkg/PLIST-main      16 Mar 2016 08:37:51 -0000
@@ -390,6 +390,7 @@
 share/git-core/templates/hooks/pre-push.sample
 share/git-core/templates/hooks/pre-rebase.sample
 share/git-core/templates/hooks/prepare-commit-msg.sample
+share/git-core/templates/hooks/setgitperms.perl
 share/git-core/templates/hooks/update.sample
 share/git-core/templates/info/
 share/git-core/templates/info/exclude

Reply via email to