Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / devel / mercurial / Makefile
blob1cc941eb7010a6a8820cfc43dd2cc0d1dc1aebb6
1 # $NetBSD: Makefile,v 1.85 2013/03/07 05:18:59 wiz Exp $
3 DISTNAME= mercurial-2.5.3
4 CATEGORIES= devel scm
5 MASTER_SITES= http://mercurial.selenic.com/release/
7 MAINTAINER= wiz@NetBSD.org
8 HOMEPAGE= http://mercurial.selenic.com/
9 COMMENT= Fast, lightweight source control management system
10 LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # OR newer
12 BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
13 BUILD_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
15 USE_TOOLS+= gmake msgfmt
17 INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
18 INSTALLATION_DIRS+= share/doc/mercurial
20 post-install:
21 ${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
22 ${INSTALL_DATA} ${WRKSRC}/doc/*.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
23 ${INSTALL_DATA} ${WRKSRC}/README \
24 ${DESTDIR}${PREFIX}/share/doc/mercurial
26 .include "../../mk/bsd.prefs.mk"
28 .if ${OPSYS} == "Linux" && empty(OS_VERSION:M2.4.*) && empty(OS_VERSION:M2.2.*)
29 PLIST_SRC+= ${.CURDIR}/PLIST ${.CURDIR}/PLIST.inotify
30 .endif
32 .include "../../lang/python/distutils.mk"
33 .include "../../mk/bsd.pkg.mk"