pkgsrc/devel/mercurial/Makefile
wiz 3d710cae2b Update to 2.8.2:
This is a regularly-scheduled bugfix release.

    fileset, revset: do not use global parser object for thread safety
    hgweb: avoid initialization race (issue3953)
    mpatch: rewrite pointer overflow checks
2014-01-02 23:51:45 +00:00

33 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.97 2014/01/02 23:51:45 wiz Exp $
DISTNAME= mercurial-2.8.2
CATEGORIES= devel scm
MASTER_SITES= http://mercurial.selenic.com/release/
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://mercurial.selenic.com/
COMMENT= Fast, lightweight source control management system
LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # OR newer
BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
BUILD_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
USE_TOOLS+= gmake msgfmt
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
INSTALLATION_DIRS+= share/doc/mercurial
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/doc/*.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
${INSTALL_DATA} ${WRKSRC}/README \
${DESTDIR}${PREFIX}/share/doc/mercurial
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Linux" && empty(OS_VERSION:M2.4.*) && empty(OS_VERSION:M2.2.*)
PLIST_SRC+= ${.CURDIR}/PLIST ${.CURDIR}/PLIST.inotify
.endif
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"