diff options
Diffstat (limited to 'devel/mercurial/Makefile')
-rw-r--r-- | devel/mercurial/Makefile | 46 |
1 files changed, 11 insertions, 35 deletions
diff --git a/devel/mercurial/Makefile b/devel/mercurial/Makefile index cd77e7fad9d..2cb6c4eeb50 100644 --- a/devel/mercurial/Makefile +++ b/devel/mercurial/Makefile @@ -1,45 +1,21 @@ -# $NetBSD: Makefile,v 1.101 2014/04/02 20:55:55 wiz Exp $ +# $NetBSD: Makefile,v 1.102 2014/04/21 13:35:44 wiz Exp $ -DISTNAME= mercurial-2.9.2 +.include "../../devel/py-mercurial/Makefile.version" + +PKGNAME= mercurial-${VERSION} +PKGREVISION= 1 CATEGORIES= devel scm -MASTER_SITES= http://mercurial.selenic.com/release/ +MASTER_SITES= # empty +DISTFILES= # empty MAINTAINER= wiz@NetBSD.org HOMEPAGE= http://mercurial.selenic.com/ -COMMENT= Fast, lightweight source control management system +COMMENT= Fast, lightweight source control management system (meta package) 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 - -PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 2.9 -# see also http://mercurial.selenic.com/wiki/SupportedPythonVersions -# 3.x support is not planned for the near future -# -# the following setup argument was requested when compiling -# for python-3.x -#.include "../../lang/python/pyversion.mk" -# -#.if ("${PYPKGPREFIX}" != "py26") && ("${PYPKGPREFIX}" != "py27") -#PYSETUPARGS+= --c2to3 -#.endif - -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" +DEPENDS+= ${PYPKGPREFIX}-mercurial>=${VERSION}:../../devel/py-mercurial -.if ${OPSYS} == "Linux" && empty(OS_VERSION:M2.4.*) && empty(OS_VERSION:M2.2.*) -PLIST_SRC+= ${.CURDIR}/PLIST ${.CURDIR}/PLIST.inotify -.endif +META_PACKAGE= yes -.include "../../lang/python/distutils.mk" +.include "../../lang/python/pyversion.mk" .include "../../mk/bsd.pkg.mk" |