Lines 2-23
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= fetchmailconf |
3 |
PORTNAME= fetchmailconf |
4 |
DISTNAME= fetchmail-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} |
4 |
DISTNAME= fetchmail-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} |
|
|
5 |
# NOTE: MASTER_SITES in ../fetchmail must NOT use the $PORTNAME variable, |
6 |
# else _this_ port (fetchmailconf) becomes unfetchable |
5 |
|
7 |
|
6 |
MAINTAINER= chalpin@cs.wisc.edu |
8 |
MAINTAINER= chalpin@cs.wisc.edu |
7 |
COMMENT= Python-based GUI to configure fetchmail |
9 |
COMMENT= Python-based GUI to configure fetchmail |
8 |
|
10 |
|
9 |
# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244130 has an update to get it |
|
|
10 |
# compatible to Python 3. |
11 |
|
12 |
LICENSE= GPLv2 LGPL21 |
11 |
LICENSE= GPLv2 LGPL21 |
13 |
LICENSE_COMB= dual |
12 |
LICENSE_COMB= dual |
14 |
|
13 |
|
15 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>=0:x11-toolkits/py-tkinter@${PY_FLAVOR} \ |
14 |
# minimum required version 6.4.2 - not codified, on the assumption |
|
|
15 |
# that fetchmail port updated at the same time |
16 |
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>=0:x11-toolkits/py-tkinter@${PY_FLAVOR} \ |
17 |
${PYTHON_PKGNAMEPREFIX}future>=0:devel/py-future@${PY_FLAVOR} \ |
16 |
fetchmail>=${PORTVERSION}:mail/fetchmail |
18 |
fetchmail>=${PORTVERSION}:mail/fetchmail |
|
|
19 |
RUN_DEPENDS+= ${BUILD_DEPENDS} |
17 |
|
20 |
|
18 |
USES= python:2.7 shebangfix tar:xz |
21 |
USES= python shebangfix tar:xz |
|
|
22 |
USE_PYTHON= py3kplist |
19 |
|
23 |
|
20 |
FILESDIR= ${.CURDIR}/files |
24 |
FILESDIR= ${.CURDIR}/files |
|
|
25 |
PATCHDIR= ${FILESDIR} |
21 |
|
26 |
|
22 |
SUB_FILES= fetchmailconf |
27 |
SUB_FILES= fetchmailconf |
23 |
SUB_LIST= PYTHON_CMD=${PYTHON_CMD} PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} |
28 |
SUB_LIST= PYTHON_CMD=${PYTHON_CMD} PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} |
Lines 30-35
Link Here
|
30 |
INSTALL_TARGET= install-data-am install-nodist_binSCRIPTS install-man |
35 |
INSTALL_TARGET= install-data-am install-nodist_binSCRIPTS install-man |
31 |
|
36 |
|
32 |
post-install: |
37 |
post-install: |
|
|
38 |
# first, run smoke tests - the version check makes sure we have all |
39 |
# modules in the requirements: |
40 |
${PYTHON_CMD} ${WRKSRC}/fetchmailconf.py -V |
41 |
# then install: |
33 |
${INSTALL_SCRIPT} ${WRKDIR}/fetchmailconf ${STAGEDIR}${PREFIX}/bin |
42 |
${INSTALL_SCRIPT} ${WRKDIR}/fetchmailconf ${STAGEDIR}${PREFIX}/bin |
34 |
${RM} ${STAGEDIR}${PREFIX}/man/man1/fetchmail.1* |
43 |
${RM} ${STAGEDIR}${PREFIX}/man/man1/fetchmail.1* |
35 |
|
44 |
|