aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-grouch
diff options
context:
space:
mode:
authorwjv <wjv@FreeBSD.org>2002-02-20 23:12:05 +0800
committerwjv <wjv@FreeBSD.org>2002-02-20 23:12:05 +0800
commitc6ea41722f6547e9e6a626a4e2cad9a83a3f4181 (patch)
tree875616ca139ce00f9ab894b02e4b7b6e8f70ab82 /devel/py-grouch
parentc52fefd6520804365aef2fe0d8d0d1bd6a204417 (diff)
downloadfreebsd-ports-gnome-c6ea41722f6547e9e6a626a4e2cad9a83a3f4181.tar.gz
freebsd-ports-gnome-c6ea41722f6547e9e6a626a4e2cad9a83a3f4181.tar.zst
freebsd-ports-gnome-c6ea41722f6547e9e6a626a4e2cad9a83a3f4181.zip
- 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 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 <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 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