[BACK]Return to options.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / news / tin

Annotation of pkgsrc/news/tin/options.mk, Revision 1.13

1.13    ! wiz         1: # $NetBSD: options.mk,v 1.12 2010/07/26 06:52:52 dholland Exp $
1.5       rillig      2:
1.7       wiz         3: PKG_OPTIONS_VAR=               PKG_OPTIONS.tin
                      4: PKG_SUPPORTED_OPTIONS=         icu inet6 tin-use-inn-spool
1.9       wiz         5: PKG_OPTIONS_OPTIONAL_GROUPS=   display
1.7       wiz         6: PKG_OPTIONS_GROUP.display=     curses ncurses ncursesw
1.13    ! wiz         7: PKG_SUGGESTED_OPTIONS=         curses inet6
1.1       wiz         8: # untested
1.4       wiz         9: #PKG_SUPPORTED_OPTIONS+=       socks
1.1       wiz        10:
                     11: .include "../../mk/bsd.options.mk"
                     12:
                     13: .if !empty(PKG_OPTIONS:Mcurses)
1.7       wiz        14: .  include "../../mk/curses.buildlink3.mk"
1.1       wiz        15: CONFIGURE_ARGS+=       --with-screen=curses
1.8       wiz        16: .  if !empty(BUILDLINK_PREFIX.curses)
1.7       wiz        17: CONFIGURE_ARGS+=       --with-curses-dir=${BUILDLINK_PREFIX.curses}
1.8       wiz        18: .  endif
1.7       wiz        19: .endif
                     20:
                     21: .if !empty(PKG_OPTIONS:Mncurses)
                     22: .  include "../../devel/ncurses/buildlink3.mk"
1.12      dholland   23: USE_NCURSES=           yes
1.7       wiz        24: CONFIGURE_ARGS+=       --with-screen=ncurses
                     25: CONFIGURE_ARGS+=       --with-curses-dir=${BUILDLINK_PREFIX.ncurses}
                     26: .endif
                     27:
                     28: .if !empty(PKG_OPTIONS:Mncursesw)
                     29: .  include "../../devel/ncursesw/buildlink3.mk"
1.12      dholland   30: USE_NCURSES=           yes
1.7       wiz        31: CONFIGURE_ARGS+=       --with-screen=ncursesw
                     32: CONFIGURE_ARGS+=       --with-curses-dir=${BUILDLINK_PREFIX.ncursesw}
1.1       wiz        33: .endif
                     34:
                     35: .if !empty(PKG_OPTIONS:Micu)
                     36: .include "../../textproc/icu/buildlink3.mk"
                     37: .endif
                     38:
                     39: .if !empty(PKG_OPTIONS:Minet6)
                     40: CONFIGURE_ARGS+=       --enable-ipv6
                     41: .endif
                     42:
                     43: .if !empty(PKG_OPTIONS:Mtin-use-inn-spool)
1.5       rillig     44: BUILD_DEFS+=           INN_DATA_DIR VARBASE
                     45: INN_DATA_DIR?=         ${VARBASE}/news
1.1       wiz        46: CONFIGURE_ARGS+=       --with-inews-dir=${PREFIX}/inn/bin \
                     47:                        --with-libdir=${INN_DATA_DIR}/db \
                     48:                        --with-spooldir=${INN_DATA_DIR}/spool/articles \
                     49:                        --with-nov-dir=${INN_DATA_DIR}/spool/overview
                     50: .else
                     51: CONFIGURE_ARGS+=       --enable-nntp-only
                     52: .endif
                     53:
                     54: .if !empty(PKG_OPTIONS:Msocks)
                     55: .include "../../net/socks5/buildlink3.mk"
                     56: CONFIGURE_ARGS+=       --with-socks5=${BUILDLINK_PREFIX.socks5}
                     57: .endif

CVSweb <webmaster@jp.NetBSD.org>