ports/113643: update ports/devel/git to 1.5.2.1

Eygene Ryabinkin rea-fbsd at codelabs.ru
Thu Jun 14 10:04:32 UTC 2007


Good day.

Spotted one more error: git-svn needs perl's Term-ReadKey
package.  The following patch will bring the dependency.

diff -urN ./Makefile ../git/Makefile
--- ./Makefile	Wed Jun 13 14:53:13 2007
+++ ../git/Makefile	Wed Jun 13 16:07:30 2007
@@ -193,6 +194,19 @@
 MAKE_ENV+=	NO_TCLTK=yes
 .endif
 
+.ifdef WITH_GITSVN
+RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey
+.endif
+
+.include <bsd.port.pre.mk>
+
+pre-everything::
+	@${ECHO_MSG} ""
+	@${ECHO_MSG} "This port has the following tunables:"
+	@${ECHO_MSG} "WITHOUT_GUI:	disables Git GUI programs"
+	@${ECHO_MSG} "WITH_GITSVN:	enables Git <-> SVN interface"
+	@${ECHO_MSG} ""
+
 post-install:
 	-${RM} -f ${PREFIX}/lib/perl5/${PERL_VERSION}/mach/perllocal.pod
 	${MKDIR} ${PREFIX}/share/emacs/site-lisp/git
@@ -206,4 +220,4 @@
 	${LN} -sf ${PREFIX}/share/emacs/site-lisp/git/vc-git.el \
 		${PREFIX}/lib/xemacs/site-lisp/git/vc-git.el
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



More information about the freebsd-ports-bugs mailing list