aboutsummaryrefslogtreecommitdiffstats
path: root/mail/fetchmailconf
diff options
context:
space:
mode:
Diffstat (limited to 'mail/fetchmailconf')
-rw-r--r--mail/fetchmailconf/Makefile26
-rw-r--r--mail/fetchmailconf/distinfo7
-rw-r--r--mail/fetchmailconf/files/fetchmailconf.in2
3 files changed, 18 insertions, 17 deletions
diff --git a/mail/fetchmailconf/Makefile b/mail/fetchmailconf/Makefile
index df391c91e313..e049dd2f0ee8 100644
--- a/mail/fetchmailconf/Makefile
+++ b/mail/fetchmailconf/Makefile
@@ -1,8 +1,8 @@
-# $FreeBSD$
-
PORTNAME= fetchmailconf
-PORTREVISION= 1
+PORTREVISION= 0
DISTNAME= fetchmail-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
+# NOTE: MASTER_SITES in ../fetchmail must NOT use the $PORTNAME variable,
+# else _this_ port (fetchmailconf) becomes unfetchable
MAINTAINER= chalpin@cs.wisc.edu
COMMENT= Python-based GUI to configure fetchmail
@@ -10,12 +10,18 @@ COMMENT= Python-based GUI to configure fetchmail
LICENSE= GPLv2 LGPL21
LICENSE_COMB= dual
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>=0:x11-toolkits/py-tkinter@${PY_FLAVOR} \
+# minimum required version 6.4.2 - not codified, on the assumption
+# that fetchmail port updated at the same time
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>=0:x11-toolkits/py-tkinter@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}future>=0:devel/py-future@${PY_FLAVOR} \
fetchmail>=${PORTVERSION}:mail/fetchmail
+RUN_DEPENDS+= ${BUILD_DEPENDS}
-USES= python:2.7 shebangfix tar:xz
+USES= python shebangfix tar:xz
+USE_PYTHON= py3kplist
FILESDIR= ${.CURDIR}/files
+PATCHDIR= ${FILESDIR}
SUB_FILES= fetchmailconf
SUB_LIST= PYTHON_CMD=${PYTHON_CMD} PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR}
@@ -24,12 +30,16 @@ NO_ARCH= yes
GNU_CONFIGURE= yes
-TARGET= fetchmailconf
+ALL_TARGET= fetchmailconf
INSTALL_TARGET= install-data-am install-nodist_binSCRIPTS install-man
post-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/fetchmailconf ${STAGEDIR}${PREFIX}/bin
- ${RM} ${STAGEDIR}${PREFIX}/man/man1/fetchmail.1*
+# first, run smoke tests - the version check makes sure we have all
+# modules listed in the *_DEPENDS variables:
+ ${PYTHON_CMD} ${WRKSRC}/fetchmailconf.py -V
+# then install:
+ ${INSTALL_SCRIPT} ${WRKDIR}/fetchmailconf ${STAGEDIR}${PREFIX}/bin
+ ${RM} ${STAGEDIR}${PREFIX}/man/man1/fetchmail.1*
MASTERDIR= ${.CURDIR}/../fetchmail
diff --git a/mail/fetchmailconf/distinfo b/mail/fetchmailconf/distinfo
deleted file mode 100644
index b0080b347c89..000000000000
--- a/mail/fetchmailconf/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-TIMESTAMP = 1546191531
-SHA256 (fetchmail-6.3.26.tar.xz) = 79b4c54cdbaf02c1a9a691d9948fcb1a77a1591a813e904283a8b614b757e850
-SIZE (fetchmail-6.3.26.tar.xz) = 1283816
-SHA256 (9b8b634.patch) = b0a9f7e28e7e6a5a16669832ad7a7a7dca47b435ce446ef10bd0421deea4a848
-SIZE (9b8b634.patch) = 1023
-SHA256 (fetchmail-6.3.26-ssl-backport.patch) = a34b1a6becf731e2ef029a1c5ee3a82a7bbb1e2487b6f3be15bbb4e7dc8b500d
-SIZE (fetchmail-6.3.26-ssl-backport.patch) = 31596
diff --git a/mail/fetchmailconf/files/fetchmailconf.in b/mail/fetchmailconf/files/fetchmailconf.in
index 5eab62b4f860..5aacf5857976 100644
--- a/mail/fetchmailconf/files/fetchmailconf.in
+++ b/mail/fetchmailconf/files/fetchmailconf.in
@@ -1,7 +1,5 @@
#!/bin/sh
#
# Wrapper for the real fetchmailconf.
-#
-# $FreeBSD$
exec %%PYTHON_CMD%% %%PYTHON_SITELIBDIR%%/fetchmailconf.py "$@"