diff options
author | wiz <wiz> | 2014-12-23 17:50:29 +0000 |
---|---|---|
committer | wiz <wiz> | 2014-12-23 17:50:29 +0000 |
commit | a5ceb533ba5a4fe8c2dc084d160f385c47b57227 (patch) | |
tree | d5f2e586ed3b1a2159326ff0cbd41e5f197e38d9 /devel/py-mercurial | |
parent | e5145df953ad095691aeb50b26078b9c91866295 (diff) | |
download | pkgsrc-a5ceb533ba5a4fe8c2dc084d160f385c47b57227.tar.gz |
Add test target.
Diffstat (limited to 'devel/py-mercurial')
-rw-r--r-- | devel/py-mercurial/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/py-mercurial/Makefile b/devel/py-mercurial/Makefile index 2fe9a953d13..be3bcf302cf 100644 --- a/devel/py-mercurial/Makefile +++ b/devel/py-mercurial/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2014/06/19 07:58:57 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2014/12/23 17:50:29 wiz Exp $ DISTNAME= mercurial-${VERSION} PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -20,6 +20,9 @@ INSTALLATION_DIRS+= share/doc/mercurial .include "Makefile.version" +do-test: + cd ${WRKSRC} && make tests PYTHON=${PYTHONBIN} + post-install: ${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 ${INSTALL_DATA} ${WRKSRC}/doc/*.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 |