-
-
Save ndowens/605e346fb1763225eebd82b9f05bf28c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: mail/isbg/Makefile | |
=================================================================== | |
--- mail/isbg/Makefile (revision 477624) | |
+++ mail/isbg/Makefile (working copy) | |
@@ -2,23 +2,40 @@ | |
# $FreeBSD$ | |
PORTNAME= isbg | |
-PORTVERSION= 1.00 | |
+PORTVERSION= 2.1.1 | |
CATEGORIES= mail | |
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | |
MAINTAINER= [email protected] | |
COMMENT= Scan an IMAP inbox for spam using SpamAssassin | |
-# any OSI approved open source license | |
-LICENSE= BSD2CLAUSE | |
+LICENSE= GPLv3+ | |
+LICENSE_FILE= ${WRKSRC}/LICENSE | |
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \ | |
+ ${PYTHON_PKGNAMEPREFIX}recommonmark>0:textproc/py-recommonmark@${PY_FLAVOR} | |
RUN_DEPENDS= spamassassin:mail/spamassassin \ | |
${PYTHON_PKGNAMEPREFIX}docopt>=0.6.1:devel/py-docopt@${PY_FLAVOR} | |
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ | |
+ ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} | |
+USES= python | |
+USE_PYTHON= distutils autoplist concurrent | |
USE_GITHUB= yes | |
NO_ARCH= yes | |
-NO_BUILD= yes | |
-USES= python | |
-USE_PYTHON= distutils autoplist concurrent optsuffix | |
+OPTIONS_DEFINE= DOCS | |
+ | |
+post-install: | |
+ @${MKDIR} ${STAGEDIR}${MANDIRS}/man1 | |
+ (cd ${WRKSRC} && sphinx-build-${PYTHON_VER} -b man -Q docs ${WRKDIR}/man docs/manpage.isbg*) | |
+ (cd ${WRKDIR}/man && ${INSTALL_MAN} *.1 ${STAGEDIR}${MANDIRS}/man1) | |
+ | |
+post-install-DOCS-on: | |
+ @${MKDIR} ${STAGEDIR}${DOCSDIR} | |
+ (cd ${WRKSRC} && sphinx-build-${PYTHON_VER} -Q docs ${WRKDIR}/test \ | |
+ docs/api_index.rst docs/development.rst docs/index.rst) | |
+ (cd ${WRKDIR}/test && ${INSTALL_DATA} *.html ${STAGEDIR}${DOCSDIR}) | |
+ | |
.include <bsd.port.mk> | |
Index: mail/isbg/distinfo | |
=================================================================== | |
--- mail/isbg/distinfo (revision 477624) | |
+++ mail/isbg/distinfo (working copy) | |
@@ -1,2 +1,3 @@ | |
-SHA256 (isbg-isbg-1.00_GH0.tar.gz) = fe5ea5f792f4fd210d7cc865c54f3e2abd3aaf19e266e21a3bc1e607d820ac47 | |
-SIZE (isbg-isbg-1.00_GH0.tar.gz) = 13967 | |
+TIMESTAMP = 1534813676 | |
+SHA256 (isbg-isbg-2.1.1_GH0.tar.gz) = c4fbcfa0b52efde4d7ecf2966b563a7e54c572a138d93474ccf95b1c2228d3e9 | |
+SIZE (isbg-isbg-2.1.1_GH0.tar.gz) = 67732 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment