summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2012-08-03 02:33:32 +0000
committerGabor Pali <pgj@FreeBSD.org>2012-08-03 02:33:32 +0000
commit6637f08b6b78907593993d3742d9d5fb00017abb (patch)
tree0e4680e229e470ea7a4b4a764a676c98fd2e19a3
parent- Use the new options framework (diff)
- Use the new options framework
Obtained from: FreeBSD Haskell
Notes
Notes: svn path=/head/; revision=301881
-rw-r--r--deskutils/checkrdf/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/deskutils/checkrdf/Makefile b/deskutils/checkrdf/Makefile
index 2e189857f287..567aabd2f7ef 100644
--- a/deskutils/checkrdf/Makefile
+++ b/deskutils/checkrdf/Makefile
@@ -7,7 +7,7 @@
PORTNAME= checkrdf
PORTVERSION= 39.4444
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= deskutils
MASTER_SITES= SF
@@ -26,7 +26,12 @@ MANCOMPRESSED= yes
PLIST_FILES= bin/checkrdf bin/checkrdf.bin etc/checkrdf.rc
PORTDOCS= README NEWS blog.news.css bluegreek.css myrdf.css
-.if defined(NOPORTDOCS)
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT= DOCS
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
INSTALL_TARGET=install-bin install-rc install-man
.endif