diff options
Diffstat (limited to 'mail/quickml/options.mk')
-rw-r--r-- | mail/quickml/options.mk | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/mail/quickml/options.mk b/mail/quickml/options.mk new file mode 100644 index 00000000000..0e7d014531d --- /dev/null +++ b/mail/quickml/options.mk @@ -0,0 +1,30 @@ +# $NetBSD: options.mk,v 1.1.1.1 2011/06/19 10:01:53 obache Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.quickml +PKG_SUPPORTED_OPTIONS+= quickml-analog quickml-limit + +.include "../../mk/bsd.options.mk" + +PLIST_VARS+= analog + +.if !empty(PKG_OPTIONS:Mlimit) +LIMIT_PATCH= quickml-0.7-limited.patch +PATCHFILES+= ${LIMIT_PATCH} +#SITES.${LIMIT_PATCH}= http://linux.matchy.net/view.xcg?c=plugin;plugin=attach_download;p=QuickMLLimited;file_name= +SITES.${LIMIT_PATCH}= http://matchy.s28.xrea.com/hiki.xcg?c=plugin;plugin=attach_download;p=QuickMLLimited;file_name= +PATCH_DIST_STRIP.${LIMIT_PATCH}= -p1 +.endif + + +.if !empty(PKG_OPTIONS:Mquickml-analog) +USE_TOOLS+= gs:run +DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick +DEPENDS+= gnuplot>=3.7:../../graphics/gnuplot +PLIST.analog= yes +.else +SUBST_CLASSES+= analog +SUBST_STAGE.analog= pre-configure +SUBST_MESSAGE.analog= Disable quickml-analog script. +SUBST_FILES.analog= Makefile.in +SUBST_SED.analog= -e '/^bin_SCRIPTS =/s/quickml-analog//g' +.endif |