mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
13d67b4b26
- Bump PORTREVISION for package change PR: 228303 Requested by: Martin Birgmeier <d8zNeCFG@aon.at>
79 lines
2.0 KiB
Makefile
79 lines
2.0 KiB
Makefile
# Created by: Andreas Kohn
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mercurial
|
|
PORTVERSION= 4.6
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= https://www.mercurial-scm.org/release/
|
|
|
|
MAINTAINER= python@FreeBSD.org
|
|
COMMENT= Fast, lightweight source control management system
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= cpe python:2.7
|
|
USE_PYTHON= distutils
|
|
|
|
OPTIONS_DEFINE= CA_BUNDLE DATA DOCS NLS FREEBSD
|
|
OPTIONS_DEFAULT=CA_BUNDLE DATA
|
|
OPTIONS_SUB= yes
|
|
|
|
CA_BUNDLE_DESC= Install CA Certificates
|
|
CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
|
|
DATA_SUB_FILES= pkg-message
|
|
FREEBSD_DESC= Patches used internally by the FreeBSD Project
|
|
FREEBSD_EXTRA_PATCHES= ${FILESDIR}/extra-patch-authormapsuffix
|
|
NLS_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-setup.py
|
|
NLS_USES= gettext
|
|
|
|
CONTRIB_FILES= bash_completion \
|
|
casesmash.py \
|
|
check-code.py \
|
|
debugcmdserver.py \
|
|
debugshell.py \
|
|
dumprevlog \
|
|
hg-ssh \
|
|
hgk \
|
|
hgsh/Makefile \
|
|
hgsh/hgsh.c \
|
|
mercurial.el \
|
|
mq.el \
|
|
pylintrc \
|
|
python-hook-examples.py \
|
|
simplemerge \
|
|
tcsh_completion \
|
|
tcsh_completion_build.sh \
|
|
undumprevlog \
|
|
zsh_completion \
|
|
vim/HGAnnotate.vim \
|
|
vim/hg-menu.vim \
|
|
vim/hgcommand.vim \
|
|
vim/hgtest.vim \
|
|
vim/patchreview.txt \
|
|
vim/patchreview.vim
|
|
PORTDOCS= CONTRIBUTORS README.rst
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${PREFIX}/man/man1/
|
|
${INSTALL_MAN} ${WRKSRC}/doc/*.5 ${STAGEDIR}${PREFIX}/man/man5/
|
|
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/ -name '*.so' -exec ${STRIP_CMD} {} +
|
|
|
|
post-install-DATA-on:
|
|
.for d in hgsh vim
|
|
${MKDIR} ${STAGEDIR}${DATADIR}/contrib/${d}
|
|
.endfor
|
|
${MKDIR} ${STAGEDIR}${DATADIR}/www
|
|
.for f in ${CONTRIB_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/${f} \
|
|
${STAGEDIR}${DATADIR}/contrib/${f}
|
|
.endfor
|
|
${INSTALL_DATA} ${WRKSRC}/hgweb.cgi ${WRKSRC}/contrib/hgweb.* ${STAGEDIR}${DATADIR}/www
|
|
|
|
post-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|