aboutsummaryrefslogtreecommitdiffstats
path: root/mail/svnmailer
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-04-25 01:00:20 +0800
committereadler <eadler@FreeBSD.org>2013-04-25 01:00:20 +0800
commitebca0ffaf4d914a9e521c8f376a35f55c4df20de (patch)
treedffb4f0deb90ed48e47d46f386b221afa251431e /mail/svnmailer
parent9f711d4598276410eab008ec1072e8f69e118b1e (diff)
downloadfreebsd-ports-gnome-ebca0ffaf4d914a9e521c8f376a35f55c4df20de.tar.gz
freebsd-ports-gnome-ebca0ffaf4d914a9e521c8f376a35f55c4df20de.tar.zst
freebsd-ports-gnome-ebca0ffaf4d914a9e521c8f376a35f55c4df20de.zip
For some unmaintained ports:
- fix format for pkg-descr - convert to OptionsNG - remove logic for older versions of python which we no longer support - remove option for old versions of FreeBSD - unconditionally set PORTDOCS - etc. Reviewed by: jgh
Diffstat (limited to 'mail/svnmailer')
-rw-r--r--mail/svnmailer/Makefile13
-rw-r--r--mail/svnmailer/pkg-descr3
2 files changed, 6 insertions, 10 deletions
diff --git a/mail/svnmailer/Makefile b/mail/svnmailer/Makefile
index 99cbbd7e8941..0788bcf5b96c 100644
--- a/mail/svnmailer/Makefile
+++ b/mail/svnmailer/Makefile
@@ -21,21 +21,18 @@ PYDISTUTILS_PKGVERSION= ${DISTVERSION}
MAN1= svn-mailer.1
-.include <bsd.port.pre.mk>
+PORTDOCS= *
-pre-patch:
-.if ${PYTHON_REL} >= 250
EXTRA_PATCHES= ${FILESDIR}/py25-src-lib-svnmailer-notifier-_base.py
-.endif
-.if defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ! ${PORT_OPTIONS:MDOCS}
PYDISTUTILS_INSTALLARGS+= --no-install-docs
-.else
-PORTDOCS= *
.endif
post-patch:
@${REINPLACE_CMD} -e "1s|^.*|#!${PYTHON_CMD}|" ${WRKSRC}/setup.py
@${REINPLACE_CMD} -e "1s|^.*|#!${PYTHON_CMD}|" ${WRKSRC}/src/svn-mailer
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/mail/svnmailer/pkg-descr b/mail/svnmailer/pkg-descr
index 4cd37d57accc..99eebecd7e87 100644
--- a/mail/svnmailer/pkg-descr
+++ b/mail/svnmailer/pkg-descr
@@ -6,5 +6,4 @@ mailer.py distributed with subversion, but supposed to be much more
consistent, better extensible and to have much more features. Have a
look at the documentation for further details
-Author: nd@perlig.de
-WWW: http://opensource.perlig.de/svnmailer/
+WWW: http://opensource.perlig.de/svnmailer/