From 513ba2f5413093a884730b5ecb519a0acdb060b3 Mon Sep 17 00:00:00 2001 From: pgj Date: Fri, 3 Aug 2012 02:33:32 +0000 Subject: - Use the new options framework Obtained from: FreeBSD Haskell --- deskutils/checkrdf/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'deskutils') 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 + +.if ${PORT_OPTIONS:MDOCS} INSTALL_TARGET=install-bin install-rc install-man .endif -- cgit