aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-11-13 01:27:12 +0800
committerpav <pav@FreeBSD.org>2007-11-13 01:27:12 +0800
commit857d0016a32f2dae5a88c671e9816d1a5d6354a5 (patch)
tree3e7a3917f02fc7b592faf50f3a4d68fc3f62198b /devel
parent1cc12476e2438cffacaf35629cb7409df9e12da5 (diff)
downloadfreebsd-ports-gnome-857d0016a32f2dae5a88c671e9816d1a5d6354a5.tar.gz
freebsd-ports-gnome-857d0016a32f2dae5a88c671e9816d1a5d6354a5.tar.zst
freebsd-ports-gnome-857d0016a32f2dae5a88c671e9816d1a5d6354a5.zip
- Patch Perl module to install Git.3 in usual directory; fixes packaging
Reported by: pointyhat Approved by: portmgr (hat)
Diffstat (limited to 'devel')
-rw-r--r--devel/git/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/git/Makefile b/devel/git/Makefile
index 3b75f40e5050..ef0b90cda5b3 100644
--- a/devel/git/Makefile
+++ b/devel/git/Makefile
@@ -153,7 +153,6 @@ MAN1= git-add.1 \
git-whatchanged.1 \
git-write-tree.1 \
gitk.1
-MAN3PREFIX= ${PREFIX}/share
MAN3= Git.3
MAN5= gitattributes.5 gitignore.5
MAN7= git.7
@@ -195,6 +194,9 @@ RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Ter
pre-patch:
${REINPLACE_CMD} -e 's|OPENSSLDIR|OPENSSLBASE|g' ${WRKSRC}/Makefile
+post-patch:
+ @${REINPLACE_CMD} -e 's|share/man/man3|man/man3|' ${WRKSRC}/perl/Makefile.PL
+
post-build:
${SED} -e'1s|#!/usr/bin/python|#!${PYTHON_CMD}|' \
${WRKSRC}/contrib/p4import/git-p4import.py > \