aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorFukang Chen <loader@FreeBSD.org>2018-03-19 07:36:57 +0000
committerFukang Chen <loader@FreeBSD.org>2018-03-19 07:36:57 +0000
commit3eb6f25d8c8d0c1d6ac0550702ca53c8a7d6458f (patch)
tree87c7c4217fdeca85cfe363f52315b473521efcaf /mail
parent82e600a61fd3eaba02e4dded5ac9df30647bbbcc (diff)
downloadports-3eb6f25d8c8d0c1d6ac0550702ca53c8a7d6458f.tar.gz
ports-3eb6f25d8c8d0c1d6ac0550702ca53c8a7d6458f.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/py-pymailq/Makefile11
-rw-r--r--mail/py-pymailq/distinfo6
-rw-r--r--mail/py-pymailq/files/patch-setup.py8
3 files changed, 11 insertions, 14 deletions
diff --git a/mail/py-pymailq/Makefile b/mail/py-pymailq/Makefile
index 3203f25beadf..a7f3ea0a5b5d 100644
--- a/mail/py-pymailq/Makefile
+++ b/mail/py-pymailq/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pymailq
-PORTVERSION= 0.8.0
+PORTVERSION= 0.9.0
CATEGORIES= mail python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,14 +19,11 @@ NO_ARCH= yes
USES= python
USE_PYTHON= autoplist distutils concurrent
-PLIST_FILES= man/man1/pqshell.1.gz
-
post-patch:
@${REINPLACE_CMD} -e \
- 's|%%DOCSDIR%%|${DOCSDIR}|g; s|%%EXAMPLESDIR%%|${EXAMPLESDIR}|g' \
+ 's|%%DOCSDIR%%|${DOCSDIR}|g; \
+ s|%%EXAMPLESDIR%%|${EXAMPLESDIR}|g; \
+ s|%%MANPREFIX%%|${MANPREFIX}|g' \
${WRKSRC}/setup.py
-post-install:
- ${INSTALL_MAN} ${WRKSRC}/man/pqshell.1 ${STAGEDIR}${MANPREFIX}/man/man1/pqshell.1
-
.include <bsd.port.mk>
diff --git a/mail/py-pymailq/distinfo b/mail/py-pymailq/distinfo
index e17c1658e104..bb83ab357497 100644
--- a/mail/py-pymailq/distinfo
+++ b/mail/py-pymailq/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1504168247
-SHA256 (pymailq-0.8.0.tar.gz) = 48b463d8a7563b2cb368a60c169143a3f1b3b5f8bf232610d7bfc2c0c18644ec
-SIZE (pymailq-0.8.0.tar.gz) = 29881
+TIMESTAMP = 1520355859
+SHA256 (pymailq-0.9.0.tar.gz) = 9a492b178d9a788eadb8fbf98897b9ef10a374f789487ae6dc18313b4c2798de
+SIZE (pymailq-0.9.0.tar.gz) = 32640
diff --git a/mail/py-pymailq/files/patch-setup.py b/mail/py-pymailq/files/patch-setup.py
index 155429d00f21..8b2fd2f034b5 100644
--- a/mail/py-pymailq/files/patch-setup.py
+++ b/mail/py-pymailq/files/patch-setup.py
@@ -1,6 +1,6 @@
---- setup.py.orig 2017-08-31 10:22:19 UTC
+--- setup.py.orig 2018-03-06 17:14:54 UTC
+++ setup.py
-@@ -39,11 +39,10 @@ if __name__ == '__main__':
+@@ -39,11 +39,11 @@ if __name__ == '__main__':
scripts=['bin/pqshell'],
packages=['pymailq'],
package_dir={'pymailq': 'pymailq'},
@@ -9,9 +9,9 @@
+ data_files=[('%%DOCSDIR%%', ['README.rst', 'LICENSE', 'CHANGES']),
+ ('%%EXAMPLESDIR%%', [
'share/doc/examples/pymailq.ini'
-- ]),
+ ]),
- ('share/man/man1', ['man/pqshell.1'])],
-+ ])],
++ ('%%MANPREFIX%%/man/man1', ['man/pqshell.1'])],
keywords=['postfix', 'shell', 'mailq', 'python', 'pqshell', 'postqueue'],
classifiers=[
'Development Status :: 5 - Production/Stable',