mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
4942ce5a7d
- Add significantly better support in bsd.python.mk for working with Python Eggs and the easy_install system Tested by: pointyhat runs Approved by: pav (portmgr) Most work by: perky Thanks to: pav
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
# New ports collection makefile for: py-grouch
|
|
# Date created: 6 September 2001
|
|
# Whom: Johann Visagie <wjv@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= grouch
|
|
PORTVERSION= 0.4
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://www.mems-exchange.org/software/files/${PORTNAME}/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= Grouch-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A system for describing and enforcing a Python object schema
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_PKGNAME= Grouch
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PYTHON_REL} < 220
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/compiler/__init__.py:${PORTSDIR}/lang/py-compiler
|
|
.endif
|
|
|
|
pre-install:
|
|
@ ${SH} ${PKGREQ} INSTALL
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@ ${MKDIR} ${DOCSDIR}
|
|
.for docfile in CHANGES LICENSE README
|
|
@ ${INSTALL_DATA} ${WRKSRC}/${docfile}.txt ${DOCSDIR}
|
|
.endfor
|
|
@ ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
|
|
@ ${MKDIR} ${EXAMPLESDIR}
|
|
@ ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|