diff options
author | jgh <jgh@FreeBSD.org> | 2013-08-27 15:08:44 +0800 |
---|---|---|
committer | jgh <jgh@FreeBSD.org> | 2013-08-27 15:08:44 +0800 |
commit | 6090ba6dfd66e709c86ccc3a0ae813a7a35970a1 (patch) | |
tree | 80f091c23b5e3c58d8ac9cecbafdd0ce5fff9603 /databases | |
parent | 2c6c5340f544bb092c517d835db0be620c6b1e36 (diff) | |
download | freebsd-ports-gnome-6090ba6dfd66e709c86ccc3a0ae813a7a35970a1.tar.gz freebsd-ports-gnome-6090ba6dfd66e709c86ccc3a0ae813a7a35970a1.tar.zst freebsd-ports-gnome-6090ba6dfd66e709c86ccc3a0ae813a7a35970a1.zip |
- update to 1.0.2
- properly support DOCS, and add option
Diffstat (limited to 'databases')
-rw-r--r-- | databases/pg_activity/Makefile | 19 | ||||
-rw-r--r-- | databases/pg_activity/distinfo | 4 | ||||
-rw-r--r-- | databases/pg_activity/files/patch-setup.py | 11 |
3 files changed, 20 insertions, 14 deletions
diff --git a/databases/pg_activity/Makefile b/databases/pg_activity/Makefile index 37049d975c2e..bb2607c21272 100644 --- a/databases/pg_activity/Makefile +++ b/databases/pg_activity/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= pg_activity -PORTVERSION= 1.0.1 +PORTVERSION= 1.0.2 CATEGORIES= databases python MASTER_SITES= GH @@ -14,18 +14,27 @@ LICENSE= BSD RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=0:${PORTSDIR}/databases/py-psycopg2 \ ${PYTHON_PKGNAMEPREFIX}psutil>=0:${PORTSDIR}/sysutils/py-psutil +OPTIONS_DEFINE= DOCS + USE_GITHUB= yes GH_ACCOUNT= julmon -GH_TAGNAME= v1.0.1 -GH_COMMIT= c002fc9 +GH_TAGNAME= v${PORTVERSION} +GH_COMMIT= ba36bae USE_PYTHON= yes PYDISTUTILS_NOEGGINFO= yes USE_PYDISTUTILS= easy_install +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MDOCS} MAN1= pg_activity.1 +.else +PYDISTUTILS_BUILDARGS= --no-man +.endif -post-install: - @${INSTALL_MAN} ${WRKSRC}/docs/man/${PORTNAME}.1 ${MAN1PREFIX}/man/man1 +post-patch-script: + ${REINPLACE_CMD} -e 's|\/usr\/share|${MAN1PREFIX}|g' \ + ${WRKSRC}/setup.py .include <bsd.port.mk> diff --git a/databases/pg_activity/distinfo b/databases/pg_activity/distinfo index 0730814d84c0..44bd446c5484 100644 --- a/databases/pg_activity/distinfo +++ b/databases/pg_activity/distinfo @@ -1,2 +1,2 @@ -SHA256 (pg_activity-1.0.1.tar.gz) = f6700733685380f165cada947fb71ee1bee532699aacb020d7ebfa38f339a562 -SIZE (pg_activity-1.0.1.tar.gz) = 122723 +SHA256 (pg_activity-1.0.2.tar.gz) = 53613c2c0516946160bdb9c18cc7ac69f9bfb49d5dc7b3472344088052e6bb78 +SIZE (pg_activity-1.0.2.tar.gz) = 123144 diff --git a/databases/pg_activity/files/patch-setup.py b/databases/pg_activity/files/patch-setup.py index d0b0b427f6aa..49c842f2197e 100644 --- a/databases/pg_activity/files/patch-setup.py +++ b/databases/pg_activity/files/patch-setup.py @@ -1,11 +1,8 @@ ---- ./setup.py.orig 2013-04-13 22:35:31.000000000 -0700 -+++ ./setup.py 2013-04-13 22:37:21.000000000 -0700 -@@ -17,7 +17,5 @@ - "psutil >= 0.4.1", +--- ./setup.py.orig 2013-08-22 23:42:26.000000000 -0700 ++++ ./setup.py 2013-08-22 23:42:36.000000000 -0700 +@@ -27,4 +27,5 @@ "psycopg2 >= 2.2.1", ], -- data_files = [ -- ('/usr/share/man/man1', ['docs/man/pg_activity.1']) -- ], + data_files = data_files, + zip_safe=False, ) |