Annotation of pkgsrc/lang/likepython/Makefile, revision 1.4

1.4     ! asau        1: # $NetBSD: Makefile,v 1.3 2012/03/15 11:53:29 obache Exp $
1.1       is          2: #
                      3: 
                      4: VER=            0.1
                      5: DISTNAME=       likepython_${VER}
                      6: PKGNAME=        likepython-${VER}
1.3       obache      7: PKGREVISION=   1
1.1       is          8: 
                      9: CATEGORIES=    lang
                     10: MASTER_SITES=  http://www.staringispolite.com/likepython/
                     11: EXTRACT_SUFX=  .tgz
                     12: 
                     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
                     17: 
                     18: WRKSRC=                ${WRKDIR} # More than one possibility -- please check manually.
                     19: 
                     20: REPLACE_PYTHON=  likepython
                     21: 
                     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'
                     27: 
                     28: 
                     29: NO_BUILD=                      yes
                     30: 
1.2       is         31: INSTALLATION_DIRS=     bin share/examples/likepython share/doc/likepython
1.1       is         32: 
                     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
                     37: 
                     38: .include "../../lang/python/extension.mk"
                     39: .include "../../lang/python/application.mk"
                     40: 
                     41: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>