Annotation of pkgsrc/lang/likepython/Makefile, revision 1.2
1.2 ! is 1: # $NetBSD: Makefile,v 1.1.1.1 2010/03/01 11:07:50 is Exp $
1.1 is 2: #
3:
4: VER= 0.1
5: DISTNAME= likepython_${VER}
6: PKGNAME= likepython-${VER}
7:
8: CATEGORIES= lang
9: MASTER_SITES= http://www.staringispolite.com/likepython/
10: EXTRACT_SUFX= .tgz
11:
12: MAINTAINER= is@netbsd.org
13: HOMEPAGE= http://www.staringispolite.com/likepython/
14: COMMENT= OMG! It's like Python, but like, you know, casual!
15: LICENSE= mit
16:
17: PKG_DESTDIR_SUPPORT= user-destdir
18:
19: WRKSRC= ${WRKDIR} # More than one possibility -- please check manually.
20:
21: REPLACE_PYTHON= likepython
22:
23: SUBST_CLASSES+= fix-runt-interp
24: SUBST_STAGE.fix-runt-interp= pre-configure
25: SUBST_MESSAGE.fix-runt-interp= Fixing runtime python interpreter path.
26: SUBST_FILES.fix-runt-interp= likepython
27: SUBST_SED.fix-runt-interp= -e '/call/s,python,${PYTHONBIN},g'
28:
29:
30: NO_BUILD= yes
31:
1.2 ! is 32: INSTALLATION_DIRS= bin share/examples/likepython share/doc/likepython
1.1 is 33:
34: do-install:
35: cd ${WRKSRC} && ${INSTALL_SCRIPT} likepython ${DESTDIR}${PREFIX}/bin
36: cd ${WRKSRC} && ${INSTALL_DATA} README ${DESTDIR}${PREFIX}/share/doc/likepython
37: cd ${WRKSRC} && ${INSTALL_DATA} hello_world.lp ${DESTDIR}${PREFIX}/share/examples/likepython
38:
39: .include "../../lang/python/extension.mk"
40: .include "../../lang/python/application.mk"
41:
42: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>