# Created by: Mark A. Wicks # $FreeBSD: head/devel/monotone/Makefile 519824 2019-12-11 17:53:48Z jbeich $ PORTNAME= monotone PORTVERSION= 1.1 PORTREVISION= 19 CATEGORIES= devel MASTER_SITES= http://www.monotone.ca/downloads/${PORTVERSION}/ MAINTAINER= lapo@lapo.it COMMENT= Distributed version control system with digital signatures LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs LIB_DEPENDS= libpcre.so:devel/pcre \ libidn.so:dns/libidn \ libsqlite3.so:databases/sqlite3 \ libbotan-1.10.so:security/botan110 SUB_FILES= pkg-message USES= cpe gmake iconv localbase lua:51 makeinfo perl5 \ pkgconfig python:run shebangfix tar:bzip2 SHEBANG_FILES= extra/mtn-hooks/monotone-ciabot.py USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ENV= MAKEINFO="${MAKEINFO} --no-split" INFO= monotone PORTDOCS= * OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_OFF= --disable-nls post-extract: @${RM} ${WRKSRC}/monotone.info* post-patch: @${REINPLACE_CMD} \ -e "s/REBUILD_NLS=true/REBUILD_NLS=false/g" \ -e "s/std::tr1::/std::/g" \ ${WRKSRC}/configure @${REINPLACE_CMD} \ -e "s/std::tr1::/std::/g" \ ${WRKSRC}/src/hash_map.hh post-patch-DOCS-off: @${REINPLACE_CMD} -Ee '/^install-(contrib|examples)-data:/{' -e 'n' -e 'd' -e '}' ${WRKSRC}/Makefile.in post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/contrib/monotone.zsh_completion ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_mtn post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} NEWS UPGRADE ${STAGEDIR}${DOCSDIR} .include