pkgsrc/mail/quickml/options.mk
obache a736d8b744 Import quickml-0.7 as mail/quickml.
Based on PR#44939 by Susumu Miwa.
Modified by Makoto Fujiwawa and me in pkgsrc-wip.

Quickml server provides very-easy-to-use mailing list service.
It was too open in this age, some limitation is provided in
this package. The original code is written by Satoru Takabayashi.
2011-06-19 10:01:53 +00:00

30 lines
986 B
Makefile

# $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