blob: 0e7d014531d4001de7f9b6e0955d12e8d37092bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
|