summaryrefslogtreecommitdiffstats
path: root/devel/py-grouch
diff options
context:
space:
mode:
authorwjv <wjv@FreeBSD.org>2002-02-20 15:12:05 +0000
committerwjv <wjv@FreeBSD.org>2002-02-20 15:12:05 +0000
commitc6ea41722f6547e9e6a626a4e2cad9a83a3f4181 (patch)
tree875616ca139ce00f9ab894b02e4b7b6e8f70ab82 /devel/py-grouch
parentc52fefd6520804365aef2fe0d8d0d1bd6a204417 (diff)
downloadFreeBSD-ports-c6ea41722f6547e9e6a626a4e2cad9a83a3f4181.zip
FreeBSD-ports-c6ea41722f6547e9e6a626a4e2cad9a83a3f4181.tar.gz
- Update to version 0.2
Diffstat (limited to 'devel/py-grouch')
-rw-r--r--devel/py-grouch/Makefile22
-rw-r--r--devel/py-grouch/distinfo2
-rw-r--r--devel/py-grouch/pkg-plist2
3 files changed, 17 insertions, 9 deletions
diff --git a/devel/py-grouch/Makefile b/devel/py-grouch/Makefile
index 21c89af..eef902b 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 <bsd.port.pre.mk>
+
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/py-grouch/distinfo b/devel/py-grouch/distinfo
index e37a51c..98c28b6 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 e5f9908..36ca2bc 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
OpenPOWER on IntegriCloud