1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

- Patch Perl module to install Git.3 in usual directory; fixes packaging

Reported by:	pointyhat
Approved by:	portmgr (hat)
This commit is contained in:
Pav Lucistnik 2007-11-12 17:27:12 +00:00
parent 0b81a02576
commit 0fd3449467
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202641

View File

@ -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 > \