diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-05-31 11:19:32 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-05-31 11:19:32 +0000 |
commit | 0cb47f77537c2b13f5acb82c1ad559fbfe26a829 (patch) | |
tree | ca9945973b3815f11f68140f3be1ab0a2cb34abb /www/p5-App-Nopaste/Makefile | |
parent | 604cf10be2fdf875d9d65a0ecd7cc4e9ec54a2cf (diff) | |
download | ports-0cb47f77537c2b13f5acb82c1ad559fbfe26a829.tar.gz ports-0cb47f77537c2b13f5acb82c1ad559fbfe26a829.zip |
Notes
Diffstat (limited to 'www/p5-App-Nopaste/Makefile')
-rw-r--r-- | www/p5-App-Nopaste/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/www/p5-App-Nopaste/Makefile b/www/p5-App-Nopaste/Makefile index ac9bd30fd8aa..0e053f3d927c 100644 --- a/www/p5-App-Nopaste/Makefile +++ b/www/p5-App-Nopaste/Makefile @@ -24,9 +24,11 @@ BUILD_DEPENDS+= p5-WWW-Mechanize>=0:${PORTSDIR}/www/p5-WWW-Mechanize \ RUN_DEPENDS:= ${BUILD_DEPENDS} -OPTIONS= CLIPBOARD "Support X11 Clipboard" On \ - PASTEBIN "Support pastebin.com" On \ - GITHUB "Support github" On +OPTIONS_DEFINE= CLIPBOARD PASTEBIN GITHUB +OPTIONS_DEFAULT= CLIPBOARD PASTEBIN GITHUB +CLIPBOARD_DESC= Support X11 Clipboard +PASTEBIN_DESC= Support pastebin.com +GITHUB_DESC= Support github PERL_CONFIGURE= yes @@ -47,17 +49,17 @@ MAN3= App::Nopaste.3 \ App::Nopaste::Service::ssh.3 \ App::Nopaste::Service::Ubuntu.3 -.include <bsd.port.pre.mk> -.if defined(WITH_PASTEBIN) +.include <bsd.port.options.mk> +.if ${PORT_OPTIONS:MPASTEBIN} BUILD_DEPENDS+= p5-WWW-Pastebin-PastebinCom-Create>=0:${PORTSDIR}/www/p5-WWW-Pastebin-PastebinCom-Create RUN_DEPENDS+= p5-WWW-Pastebin-PastebinCom-Create>=0:${PORTSDIR}/www/p5-WWW-Pastebin-PastebinCom-Create .endif -.if defined(WITH_CLIPBOARD) +.if ${PORT_OPTIONS:MCLIPBOARD} BUILD_DEPENDS+= p5-Clipboard>=0:${PORTSDIR}/x11/p5-Clipboard RUN_DEPENDS+= p5-Clipboard>=0:${PORTSDIR}/x11/p5-Clipboard .endif -.if defined(WITH_GITHUB) +.if ${PORT_OPTIONS:MGITHUB} BUILD_DEPENDS+= p5-Config-GitLike>=0:${PORTSDIR}/devel/p5-Config-GitLike RUN_DEPENDS+= p5-Config-GitLike>=0:${PORTSDIR}/devel/p5-Config-GitLike .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |