1 # $NetBSD: Makefile,v 1.4 2012/10/02 20:11:44 asau Exp $
5 DISTNAME
= likepython_
${VER}
6 PKGNAME
= likepython-
${VER}
10 MASTER_SITES
= http
://www.staringispolite.com
/likepython
/
13 MAINTAINER
= is@NetBSD.org
14 HOMEPAGE
= http
://www.staringispolite.com
/likepython
/
15 COMMENT
= OMG
! It
's like Python, but like, you know, casual!
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
'
31 INSTALLATION_DIRS= bin share/examples/likepython share/doc/likepython
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"