From 6776ef7ff8309b5ccf3bc0f6c42966854b0dbade Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Wed, 24 Apr 2013 17:00:20 +0000 Subject: 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 --- mail/svnmailer/Makefile | 13 +++++-------- mail/svnmailer/pkg-descr | 3 +-- 2 files changed, 6 insertions(+), 10 deletions(-) (limited to 'mail/svnmailer') 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 +PORTDOCS= * -pre-patch: -.if ${PYTHON_REL} >= 250 EXTRA_PATCHES= ${FILESDIR}/py25-src-lib-svnmailer-notifier-_base.py -.endif -.if defined(NOPORTDOCS) +.include + +.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 +.include 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/ -- cgit