Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / lang / likepython / Makefile
blob4ccb655852bc8af00b4b3fce969d5bc635c3fec6
1 # $NetBSD: Makefile,v 1.4 2012/10/02 20:11:44 asau Exp $
4 VER= 0.1
5 DISTNAME= likepython_${VER}
6 PKGNAME= likepython-${VER}
7 PKGREVISION= 1
9 CATEGORIES= lang
10 MASTER_SITES= http://www.staringispolite.com/likepython/
11 EXTRACT_SUFX= .tgz
13 MAINTAINER= is@NetBSD.org
14 HOMEPAGE= http://www.staringispolite.com/likepython/
15 COMMENT= OMG! It's like Python, but like, you know, casual!
16 LICENSE= mit
18 WRKSRC= ${WRKDIR} # More than one possibility -- please check manually.
20 REPLACE_PYTHON= likepython
22 SUBST_CLASSES+= fix-runt-interp
23 SUBST_STAGE.fix-runt-interp= pre-configure
24 SUBST_MESSAGE.fix-runt-interp= Fixing runtime python interpreter path.
25 SUBST_FILES.fix-runt-interp= likepython
26 SUBST_SED.fix-runt-interp= -e '/call/s,python,${PYTHONBIN},g'
29 NO_BUILD= yes
31 INSTALLATION_DIRS= bin share/examples/likepython share/doc/likepython
33 do-install:
34 cd ${WRKSRC} && ${INSTALL_SCRIPT} likepython ${DESTDIR}${PREFIX}/bin
35 cd ${WRKSRC} && ${INSTALL_DATA} README ${DESTDIR}${PREFIX}/share/doc/likepython
36 cd ${WRKSRC} && ${INSTALL_DATA} hello_world.lp ${DESTDIR}${PREFIX}/share/examples/likepython
38 .include "../../lang/python/extension.mk"
39 .include "../../lang/python/application.mk"
41 .include "../../mk/bsd.pkg.mk"