|
Lines 6-23
Link Here
|
| 6 |
# |
6 |
# |
| 7 |
|
7 |
|
| 8 |
PORTNAME= git |
8 |
PORTNAME= git |
| 9 |
PORTVERSION= 1.5.2 |
9 |
PORTVERSION= 1.5.2.1 |
| 10 |
PORTREVISION= 1 |
|
|
| 11 |
CATEGORIES= devel |
10 |
CATEGORIES= devel |
| 12 |
MASTER_SITES= http://www.kernel.org/pub/software/scm/git/ |
11 |
MASTER_SITES= http://www.kernel.org/pub/software/scm/git/ |
|
|
12 |
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \ |
| 13 |
${PORTNAME}-manpages-${PORTVERSION}${EXTRACT_SUFX} |
| 13 |
|
14 |
|
| 14 |
MAINTAINER= anholt@FreeBSD.org |
15 |
MAINTAINER= anholt@FreeBSD.org |
| 15 |
COMMENT= Distributed source code management tool |
16 |
COMMENT= Distributed source code management tool |
| 16 |
|
17 |
|
| 17 |
BUILD_DEPENDS= curl:${PORTSDIR}/ftp/curl \ |
18 |
BUILD_DEPENDS= curl:${PORTSDIR}/ftp/curl \ |
| 18 |
asciidoc:${PORTSDIR}/textproc/asciidoc \ |
19 |
${SITE_PERL}/Error.pm:${PORTSDIR}/lang/p5-Error |
| 19 |
${SITE_PERL}/Error.pm:${PORTSDIR}/lang/p5-Error \ |
|
|
| 20 |
xmlto:${PORTSDIR}/textproc/xmlto |
| 21 |
RUN_DEPENDS= curl:${PORTSDIR}/ftp/curl \ |
20 |
RUN_DEPENDS= curl:${PORTSDIR}/ftp/curl \ |
| 22 |
cvsps:${PORTSDIR}/devel/cvsps-devel \ |
21 |
cvsps:${PORTSDIR}/devel/cvsps-devel \ |
| 23 |
${SITE_PERL}/Error.pm:${PORTSDIR}/lang/p5-Error |
22 |
${SITE_PERL}/Error.pm:${PORTSDIR}/lang/p5-Error |
|
Lines 25-31
Link Here
|
| 25 |
|
24 |
|
| 26 |
CONFLICTS= cogito-0.1[012] git-4.* |
25 |
CONFLICTS= cogito-0.1[012] git-4.* |
| 27 |
|
26 |
|
| 28 |
.if !defined(NOPORTDOCS) |
|
|
| 29 |
MAN1= git-add.1 \ |
27 |
MAN1= git-add.1 \ |
| 30 |
git-am.1 \ |
28 |
git-am.1 \ |
| 31 |
git-annotate.1 \ |
29 |
git-annotate.1 \ |
|
Lines 158-180
Link Here
|
| 158 |
git-whatchanged.1 \ |
156 |
git-whatchanged.1 \ |
| 159 |
git-write-tree.1 \ |
157 |
git-write-tree.1 \ |
| 160 |
gitk.1 |
158 |
gitk.1 |
| 161 |
MAN5= gitattributes.5 |
|
|
| 162 |
MAN7= git.7 |
| 163 |
.endif |
| 164 |
MAN3PREFIX= ${TARGETDIR}/lib/perl5/${PERL_VERSION} |
159 |
MAN3PREFIX= ${TARGETDIR}/lib/perl5/${PERL_VERSION} |
| 165 |
MAN3= Git.3 |
160 |
MAN3= Git.3 |
|
|
161 |
MAN5= gitattributes.5 gitignore.5 |
| 162 |
MAN7= git.7 |
| 166 |
|
163 |
|
| 167 |
USE_BZIP2= yes |
164 |
USE_BZIP2= yes |
| 168 |
USE_PERL5= yes |
165 |
USE_PERL5= yes |
| 169 |
USE_PYTHON= yes |
166 |
USE_PYTHON= yes |
| 170 |
USE_ICONV= yes |
167 |
USE_ICONV= yes |
| 171 |
USE_GMAKE= yes |
168 |
USE_GMAKE= yes |
| 172 |
ALL_TARGET= all |
|
|
| 173 |
INSTALL_TARGET= install |
| 174 |
.if !defined(NOPORTDOCS) |
| 175 |
ALL_TARGET+= doc |
| 176 |
INSTALL_TARGET+=install-doc |
| 177 |
.endif |
| 178 |
CFLAGS+= -I${LOCALBASE}/include |
169 |
CFLAGS+= -I${LOCALBASE}/include |
| 179 |
MAKE_ENV+= CURLDIR=${LOCALBASE} \ |
170 |
MAKE_ENV+= CURLDIR=${LOCALBASE} \ |
| 180 |
NEEDS_LIBICONV=yes \ |
171 |
NEEDS_LIBICONV=yes \ |
|
Lines 194-199
Link Here
|
| 194 |
.endif |
185 |
.endif |
| 195 |
|
186 |
|
| 196 |
post-install: |
187 |
post-install: |
|
|
188 |
.for i in ${MAN1} |
| 189 |
${INSTALL_MAN} ${WRKDIR}/man1/${i} ${MANPREFIX}/man/man1/ |
| 190 |
.endfor |
| 191 |
.for i in ${MAN5} |
| 192 |
${INSTALL_MAN} ${WRKDIR}/man5/${i} ${MANPREFIX}/man/man5/ |
| 193 |
.endfor |
| 194 |
.for i in ${MAN7} |
| 195 |
${INSTALL_MAN} ${WRKDIR}/man7/${i} ${MANPREFIX}/man/man7/ |
| 196 |
.endfor |
| 197 |
|
| 197 |
-${RM} -f ${PREFIX}/lib/perl5/${PERL_VERSION}/mach/perllocal.pod |
198 |
-${RM} -f ${PREFIX}/lib/perl5/${PERL_VERSION}/mach/perllocal.pod |
| 198 |
${MKDIR} ${PREFIX}/share/emacs/site-lisp/git |
199 |
${MKDIR} ${PREFIX}/share/emacs/site-lisp/git |
| 199 |
${MKDIR} ${PREFIX}/lib/xemacs/site-lisp/git |
200 |
${MKDIR} ${PREFIX}/lib/xemacs/site-lisp/git |