aboutsummaryrefslogtreecommitdiff
path: root/misc/pastebinit
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2012-06-21 04:43:27 +0000
committerEitan Adler <eadler@FreeBSD.org>2012-06-21 04:43:27 +0000
commit4c6baffe3350ea15c7611c67736314789581d625 (patch)
tree8267761106efd663e60849d0d3dcb20658372171 /misc/pastebinit
parentcfdd1d8e6e0b8e2a13315e9fa16dbab1049ba7e2 (diff)
downloadports-4c6baffe3350ea15c7611c67736314789581d625.tar.gz
ports-4c6baffe3350ea15c7611c67736314789581d625.zip
Upgrade to OptionsNG
Reviewed by: "Bryan Drewery" <bryan@shatow.net>
Notes
Notes: svn path=/head/; revision=299715
Diffstat (limited to 'misc/pastebinit')
-rw-r--r--misc/pastebinit/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/misc/pastebinit/Makefile b/misc/pastebinit/Makefile
index d3cbe5084cd2..b997954f03a3 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>