[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / likepython

File: [cvs.NetBSD.org] / pkgsrc / lang / likepython / Makefile (download)

Revision 1.9, Fri Dec 4 20:45:26 2020 UTC (3 years, 2 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.8: +2 -2 lines

Revbump packages with a runtime Python dep but no version prefix.

For the Python 3.8 default switch.

# $NetBSD: Makefile,v 1.9 2020/12/04 20:45:26 nia Exp $
#

VER=		0.1
DISTNAME=	likepython_${VER}
PKGNAME=	likepython-${VER}
PKGREVISION=	4

CATEGORIES=	lang
MASTER_SITES=	http://www.staringispolite.com/likepython/
EXTRACT_SUFX=	.tgz

MAINTAINER=	is@NetBSD.org
HOMEPAGE=	http://www.staringispolite.com/likepython/
COMMENT=	OMG! It's like Python, but like, you know, casual!
LICENSE=	mit

WRKSRC=		${WRKDIR} # More than one possibility -- please check manually.

REPLACE_PYTHON=	likepython

SUBST_CLASSES+=			fix-runt-interp
SUBST_STAGE.fix-runt-interp=	pre-configure
SUBST_MESSAGE.fix-runt-interp=	Fixing runtime python interpreter path.
SUBST_FILES.fix-runt-interp=	likepython
SUBST_SED.fix-runt-interp=	-e '/call/s,python,${PYTHONBIN},g'


NO_BUILD=		yes

INSTALLATION_DIRS=	bin share/examples/likepython share/doc/likepython

do-install:
	cd ${WRKSRC} && ${INSTALL_SCRIPT} likepython ${DESTDIR}${PREFIX}/bin
	cd ${WRKSRC} && ${INSTALL_DATA} README ${DESTDIR}${PREFIX}/share/doc/likepython
	cd ${WRKSRC} && ${INSTALL_DATA} hello_world.lp ${DESTDIR}${PREFIX}/share/examples/likepython

.include "../../lang/python/extension.mk"
.include "../../lang/python/application.mk"

.include "../../mk/bsd.pkg.mk"