File:  [cvs.NetBSD.org] / pkgsrc / lang / py-extclass / Attic / Makefile
Revision 1.19: download - view: text, annotated - select for diffs
Thu Feb 22 19:26:39 2007 UTC (17 years, 9 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2007Q1-base, pkgsrc-2007Q1, HEAD
Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.

# $NetBSD: Makefile,v 1.19 2007/02/22 19:26:39 wiz Exp $
#

DISTNAME=	Zope-2.2.2-src
PKGNAME=	py-extclass-2.2.2
PKGREVISION=	1
CATEGORIES=	lang python
MASTER_SITES=	http://www.zope.org/Products/Zope/2.2.2/
EXTRACT_SUFX=	.tgz

MAINTAINER=	tsarna@NetBSD.org
HOMEPAGE=	http://cvs.zope.org/*checkout*/Cruft/ExtensionClass/doc/Attic/Acquisition.html?rev=1.2
COMMENT=	Python-extensible C "classes" and Acquisition for Python

EXTRACT_ELEMENTS=	${DISTNAME}/lib/Components/ExtensionClass
WRKSRC=			${WRKDIR}/${DISTNAME}/lib/Components/ExtensionClass

do-configure:
	( cd ${WRKSRC} ;\
	  ${CP} ${PY_CONFIGDIR}/Makefile.pre.in . ;\
	  ${MAKE} -f Makefile.pre.in boot)

post-build:
	(cd ${WRKSRC}; ${PY_PROG} ${PY_LIBDIR}/compileall.py .)
	(cd ${WRKSRC}; ${PY_PROG} -O ${PY_LIBDIR}/compileall.py .)

do-install:
	(cd ${WRKSRC}; \
	${INSTALL_DATA_DIR} ${PY_INCDIR} ; \
	${INSTALL_DATA} ExtensionClass.h ${PY_INCDIR} ; \
	${INSTALL_SCRIPT_DIR} ${PY_SITEPKG} ; \
	${INSTALL_SCRIPT} Xaq.py* ${PY_SITEPKG} ; \
	${INSTALL_PROGRAM} *.so ${PY_SITEPKG} ; \
	${INSTALL_SCRIPT_DIR} ${PY_SITEPKG}/extclass_test ; \
	${INSTALL_SCRIPT} test_*.py* ${PY_SITEPKG}/extclass_test ; \
	${INSTALL_DATA_DIR} ${PY_SITEPKG}/extclass_doc ; \
	${INSTALL_DATA} *.txt *.stx ${PY_SITEPKG}/extclass_doc)

.include "../../lang/python20/Makefile.inc"
.include "../../lang/python20/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>