From c6ea41722f6547e9e6a626a4e2cad9a83a3f4181 Mon Sep 17 00:00:00 2001 From: wjv Date: Wed, 20 Feb 2002 15:12:05 +0000 Subject: - Update to version 0.2 --- devel/py-grouch/Makefile | 22 ++++++++++++++-------- devel/py-grouch/distinfo | 2 +- devel/py-grouch/pkg-plist | 2 ++ 3 files changed, 17 insertions(+), 9 deletions(-) (limited to 'devel/py-grouch') diff --git a/devel/py-grouch/Makefile b/devel/py-grouch/Makefile index 21c89af5ce82..eef902b0b18a 100644 --- a/devel/py-grouch/Makefile +++ b/devel/py-grouch/Makefile @@ -6,7 +6,7 @@ # PORTNAME= grouch -PORTVERSION= 0.1 +PORTVERSION= 0.2 CATEGORIES= devel python MASTER_SITES= http://www.mems-exchange.org/software/files/${PORTNAME}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,28 +15,34 @@ DISTNAME= Grouch-${PORTVERSION} MAINTAINER= wjv@FreeBSD.org BUILD_DEPENDS= ${PYDISTUTILS} -RUN_DEPENDS= ${PYTHON_SITELIBDIR}/compiler/__init__.py:${PORTSDIR}/lang/py-compiler USE_PYTHON= yes -EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME} +PYTHON_SETUP= ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py + +.include + +.if ${PYTHON_REL} < 220 +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/compiler/__init__.py:${PORTSDIR}/lang/py-compiler +.endif do-build: - @ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py build + @ cd ${WRKSRC} && ${PYTHON_SETUP} build pre-install: @ ${SH} ${PKGREQ} INSTALL do-install: - @ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py \ - install -c -O1 --prefix=${PREFIX} + @ cd ${WRKSRC} && ${PYTHON_SETUP} install -c -O1 --prefix=${PREFIX} post-install: .if !defined(NOPORTDOCS) @ ${MKDIR} ${DOCSDIR} - @ ${INSTALL_DATA} ${WRKSRC}/README.txt ${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 +.include diff --git a/devel/py-grouch/distinfo b/devel/py-grouch/distinfo index e37a51ca8593..98c28b67f999 100644 --- a/devel/py-grouch/distinfo +++ b/devel/py-grouch/distinfo @@ -1 +1 @@ -MD5 (Grouch-0.1.tar.gz) = ae3778763e3f6d6c529c17c2f4e9bd26 +MD5 (Grouch-0.2.tar.gz) = e77292f3c9e0f5b02a06f592202c0960 diff --git a/devel/py-grouch/pkg-plist b/devel/py-grouch/pkg-plist index e5f9908b2069..36ca2bc81c5e 100644 --- a/devel/py-grouch/pkg-plist +++ b/devel/py-grouch/pkg-plist @@ -1,3 +1,5 @@ +%%PORTDOCS%%share/doc/grouch/CHANGES.txt +%%PORTDOCS%%share/doc/grouch/LICENSE.txt %%PORTDOCS%%share/doc/grouch/README.txt %%PORTDOCS%%share/doc/grouch/checking.txt %%PORTDOCS%%share/doc/grouch/schema.txt -- cgit