aboutsummaryrefslogtreecommitdiff
path: root/mail/svnmailer/Makefile
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2013-04-24 17:00:20 +0000
committerEitan Adler <eadler@FreeBSD.org>2013-04-24 17:00:20 +0000
commit6776ef7ff8309b5ccf3bc0f6c42966854b0dbade (patch)
treedffb4f0deb90ed48e47d46f386b221afa251431e /mail/svnmailer/Makefile
parent15a5a2f67682b6f9fe677aa56a261ec0e6983643 (diff)
Notes
Diffstat (limited to 'mail/svnmailer/Makefile')
-rw-r--r--mail/svnmailer/Makefile13
1 files changed, 5 insertions, 8 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>