summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 > \