[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / regress / print-plist-python

File: [cvs.NetBSD.org] / pkgsrc / regress / print-plist-python / Makefile (download)

Revision 1.2, Fri Dec 4 20:45:38 2020 UTC (3 years, 2 months ago) by nia
Branch: MAIN
CVS Tags: 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.1: +2 -1 lines

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

For the Python 3.8 default switch.

# $NetBSD: Makefile,v 1.2 2020/12/04 20:45:38 nia Exp $

DISTNAME=	print-plist-python-0.0
PKGREVISION=	1
CATEGORIES=	regress
MASTER_SITES=	# none
DISTFILES=	# none

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Test escaping in PRINT_PLIST_AWK
LICENSE=	2-clause-bsd

NO_CHECKSUM=	yes
NO_CONFIGURE=	yes
WRKSRC=		${WRKDIR}
AUTO_MKDIRS=	yes

# When interpreted as a regular expression, the version number "3.7"
# matches the filename "share/emul3270". Therefore only that version works.
PYTHON_VERSIONS_ACCEPTABLE=	37

pre-build:
	${TOUCH} ${WRKDIR}/setup.py

post-build:
	${ECHO} "content" >${WRKDIR}/file

post-install:
	${INSTALL_DATA} ${WRKSRC}/file ${DESTDIR}${PREFIX}/share/emul3270
	${INSTALL_DATA} ${WRKSRC}/file ${DESTDIR}${PREFIX}/share/file-${PYVERSSUFFIX}.txt

.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"