diff options
author | wiz <wiz@pkgsrc.org> | 2007-05-22 19:13:49 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2007-05-22 19:13:49 +0000 |
commit | d5e296bd5475d7bda0ecec2df39d6068059be8e9 (patch) | |
tree | 453adbce45f22a689df4e1445b6e2e0a05d17450 /devel/fromcvs | |
parent | f955f6507408f08d841bc77b9af67a72791602b4 (diff) | |
download | pkgsrc-d5e296bd5475d7bda0ecec2df39d6068059be8e9.tar.gz |
Fix path to python interpreter in tohg.rb and depend on python.
Bump PKGREVISION.
Diffstat (limited to 'devel/fromcvs')
-rw-r--r-- | devel/fromcvs/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/fromcvs/Makefile b/devel/fromcvs/Makefile index 9f3766cd471..503d9b94907 100644 --- a/devel/fromcvs/Makefile +++ b/devel/fromcvs/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.4 2007/05/13 01:34:27 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2007/05/22 19:13:49 wiz Exp $ DISTNAME= 7a1ad0af8464 # Last part of PKGNAME is changeset number PKGNAME= fromcvs-0.0.0.99 +PKGREVISION= 1 CATEGORIES= devel scm MASTER_SITES= http://ww2.fs.ei.tum.de/~corecode/hg/fromcvs/archive/ EXTRACT_SUFX= .tar.bz2 @@ -20,6 +21,12 @@ LICENSE= corecode-license WRKSRC= ${WRKDIR}/fromcvs-${DISTNAME} DIST_SUBDIR= fromcvs +SUBST_CLASSES+= python +SUBST_FILES.python+= tohg.rb +SUBST_MESSAGE.python+= Fixing path to Python interpreter. +SUBST_SED.python+= -e "s!'python'!'${PYTHONBIN}'!" +SUBST_STAGE.python+= pre-build + do-build: ${ECHO} "#!/bin/sh" > ${WRKSRC}/togit ${ECHO} "${RUBY} -I${PREFIX}/share/fromcvs ${PREFIX}/share/fromcvs/togit.rb \"\$$@\"" >> ${WRKSRC}/togit @@ -39,4 +46,5 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/tohg ${PREFIX}/bin .include "../../lang/ruby/modules.mk" +.include "../../lang/python/application.mk" .include "../../mk/bsd.pkg.mk" |