- Fix git-p4import so it is not zero size.

PR:		ports/129689
Submitted by:	Evan Powers <evan.powers+bsdbug@gmail.com>
This commit is contained in:
Wesley Shields 2008-12-17 15:42:36 +00:00
parent 4d765fa679
commit 258051cced
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=224330

View File

@ -7,6 +7,7 @@
PORTNAME= git
PORTVERSION= 1.6.0.5
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.kernel.org/pub/software/scm/git/
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
@ -271,8 +272,9 @@ post-patch:
post-build:
.ifdef (WITH_P4)
@${REINPLACE_CMD} -e'1s|#!/usr/bin/python|#!${PYTHON_CMD}|' \
${WRKSRC}/contrib/p4import/git-p4import.py > \
@${REINPLACE_CMD} -e '1s|#!/usr/bin/python|#!${PYTHON_CMD}|' \
${WRKSRC}/contrib/p4import/git-p4import.py
@${CP} ${WRKSRC}/contrib/p4import/git-p4import.py \
${WRKSRC}/contrib/p4import/git-p4import
.endif