View | Details | Raw Unified | Return to bug 234765
Collapse All | Expand All

(-)Makefile (-1 / +9 lines)
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} {} +
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1544007885
1
TIMESTAMP = 1546972025
2
SHA256 (mercurial-4.8.1.tar.gz) = 48a45f5cde9104fbc2daf310d710d4ebf286d879b89fa327d24b005434b0fa21
2
SHA256 (mercurial-4.8.2.tar.gz) = 6c202cb9cf05e63b86477ebf84d6475eb10b4022ac2cd3a7481fb36d9c45fdb2
3
SIZE (mercurial-4.8.1.tar.gz) = 6869733
3
SIZE (mercurial-4.8.2.tar.gz) = 6870985
(-)files/hgrc (+2 lines)
Line 0 Link Here
1
[web]
2
cacerts = %%PREFIX%%/%%CERTDIR%%/ca-root-nss.crt
(-)pkg-plist (+1 lines)
Lines 1-4 Link Here
1
bin/hg
1
bin/hg
2
etc/mercurial/hgrc
2
%%PYTHON_SITELIBDIR%%/hgdemandimport/__init__.py
3
%%PYTHON_SITELIBDIR%%/hgdemandimport/__init__.py
3
%%PYTHON_SITELIBDIR%%/hgdemandimport/__init__.pyc
4
%%PYTHON_SITELIBDIR%%/hgdemandimport/__init__.pyc
4
%%PYTHON_SITELIBDIR%%/hgdemandimport/__init__.pyo
5
%%PYTHON_SITELIBDIR%%/hgdemandimport/__init__.pyo

Return to bug 234765