aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-06-21 12:43:27 +0800
committereadler <eadler@FreeBSD.org>2012-06-21 12:43:27 +0800
commit9cc8c01cdcb801735fc3ac1c237ab9205486c96e (patch)
treecf4edcc7e21fbbfe4197dfe92f034e049aa73164 /misc
parent721c55261d066914c99b7ac6be8ca8ff6ee97484 (diff)
downloadfreebsd-ports-graphics-9cc8c01cdcb801735fc3ac1c237ab9205486c96e.tar.gz
freebsd-ports-graphics-9cc8c01cdcb801735fc3ac1c237ab9205486c96e.tar.zst
freebsd-ports-graphics-9cc8c01cdcb801735fc3ac1c237ab9205486c96e.zip
Upgrade to OptionsNG
Reviewed by: "Bryan Drewery" <bryan@shatow.net>
Diffstat (limited to 'misc')
-rw-r--r--misc/pastebinit/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/misc/pastebinit/Makefile b/misc/pastebinit/Makefile
index d3cbe5084cd..b997954f03a 100644
--- a/misc/pastebinit/Makefile
+++ b/misc/pastebinit/Makefile
@@ -20,18 +20,20 @@ NO_BUILD= yes
PLIST_FILES= bin/pastebinit
-OPTIONS= PASTEBINS "Install default pastebins" on
+OPTIONS_DEFINE= PASTEBINS
+PASTEBINS_DESC= Install default pastebins
+OPTIONS_DEFAULT= PASTEBINS
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_PASTEBINS)
+.if ${PORT_OPTIONS:MPASTEBINS}
PORTDATA= pastebin.d
.endif
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
-.if defined(WITH_PASTEBINS)
+.if ${PORT_OPTIONS:MPASTEBINS}
(cd ${WRKSRC} && ${COPYTREE_SHARE} pastebin.d ${DATADIR})
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>