aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cvsspam
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cvsspam')
-rw-r--r--devel/cvsspam/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/devel/cvsspam/Makefile b/devel/cvsspam/Makefile
index 096aaa1440af..79d4264787ea 100644
--- a/devel/cvsspam/Makefile
+++ b/devel/cvsspam/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: cvsspam
-# Date created: 16 Sep 2005
-# Whom: Emanuel Haupt <ehaupt@critical.ch>
-#
+# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
-#
PORTNAME= cvsspam
PORTVERSION= 0.2.12
@@ -21,6 +17,10 @@ NO_BUILD= yes
PORTDOCS= COPYING CREDITS TODO cvsspam-doc.html cvsspam-doc.pdf
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
post-patch:
.for f in collect_diffs.rb cvsspam.rb record_lastdir.rb
@${REINPLACE_CMD} -e 's|/usr/bin/ruby|${RUBY}|' \
@@ -39,7 +39,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/cvsspam.conf ${PREFIX}/etc/cvsspam.conf
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}