aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/checkrdf
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2012-08-03 10:33:32 +0800
committerpgj <pgj@FreeBSD.org>2012-08-03 10:33:32 +0800
commit513ba2f5413093a884730b5ecb519a0acdb060b3 (patch)
tree0e4680e229e470ea7a4b4a764a676c98fd2e19a3 /deskutils/checkrdf
parentb88e087fda746323e927ee617650ebf7d267d4d9 (diff)
downloadfreebsd-ports-gnome-513ba2f5413093a884730b5ecb519a0acdb060b3.tar.gz
freebsd-ports-gnome-513ba2f5413093a884730b5ecb519a0acdb060b3.tar.zst
freebsd-ports-gnome-513ba2f5413093a884730b5ecb519a0acdb060b3.zip
- Use the new options framework
Obtained from: FreeBSD Haskell
Diffstat (limited to 'deskutils/checkrdf')
-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