aboutsummaryrefslogtreecommitdiffstats
path: root/mail/svnmailer
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2013-04-25 01:00:20 +0800
committerEitan Adler <eadler@FreeBSD.org>2013-04-25 01:00:20 +0800
commit6776ef7ff8309b5ccf3bc0f6c42966854b0dbade (patch)
treedffb4f0deb90ed48e47d46f386b221afa251431e /mail/svnmailer
parent15a5a2f67682b6f9fe677aa56a261ec0e6983643 (diff)
downloadfreebsd-ports-gnome-6776ef7ff8309b5ccf3bc0f6c42966854b0dbade.tar.gz
freebsd-ports-gnome-6776ef7ff8309b5ccf3bc0f6c42966854b0dbade.tar.zst
freebsd-ports-gnome-6776ef7ff8309b5ccf3bc0f6c42966854b0dbade.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/