Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= mercurial |
4 |
PORTNAME= mercurial |
5 |
PORTVERSION= 4.8.1 |
5 |
PORTVERSION= 4.8.2 |
6 |
CATEGORIES= devel python |
6 |
CATEGORIES= devel python |
7 |
MASTER_SITES= https://www.mercurial-scm.org/release/ |
7 |
MASTER_SITES= https://www.mercurial-scm.org/release/ |
8 |
|
8 |
|
Lines 15-20
Link Here
|
15 |
USES= cpe python:2.7 |
15 |
USES= cpe python:2.7 |
16 |
USE_PYTHON= distutils |
16 |
USE_PYTHON= distutils |
17 |
|
17 |
|
|
|
18 |
# Follow, https://www.mercurial-scm.org/wiki/CACertificates |
19 |
# Taken from security/ca_root_nss |
20 |
CERTDIR?= share/certs |
21 |
|
18 |
OPTIONS_DEFINE= CA_BUNDLE DATA DOCS NLS FREEBSD |
22 |
OPTIONS_DEFINE= CA_BUNDLE DATA DOCS NLS FREEBSD |
19 |
OPTIONS_DEFAULT=CA_BUNDLE DATA |
23 |
OPTIONS_DEFAULT=CA_BUNDLE DATA |
20 |
OPTIONS_SUB= yes |
24 |
OPTIONS_SUB= yes |
Lines 55-60
Link Here
|
55 |
PORTDOCS= CONTRIBUTORS README.rst |
59 |
PORTDOCS= CONTRIBUTORS README.rst |
56 |
|
60 |
|
57 |
post-install: |
61 |
post-install: |
|
|
62 |
${MKDIR} ${STAGEDIR}${PREFIX}/etc/mercurial |
63 |
${INSTALL_DATA} ${FILESDIR}/hgrc ${STAGEDIR}${PREFIX}/etc/mercurial |
64 |
${REINPLACE_CMD} -i "" 's|%%PREFIX%%|${PREFIX}| ;\ |
65 |
s|%%CERTDIR%%|${CERTDIR}|' ${STAGEDIR}${PREFIX}/etc/mercurial/hgrc |
58 |
${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${PREFIX}/man/man1/ |
66 |
${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${PREFIX}/man/man1/ |
59 |
${INSTALL_MAN} ${WRKSRC}/doc/*.5 ${STAGEDIR}${PREFIX}/man/man5/ |
67 |
${INSTALL_MAN} ${WRKSRC}/doc/*.5 ${STAGEDIR}${PREFIX}/man/man5/ |
60 |
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/ -name '*.so' -exec ${STRIP_CMD} {} + |
68 |
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/ -name '*.so' -exec ${STRIP_CMD} {} + |