pkgsrc/www/emacs-w3m/options.mk
hauke 53b2151e14 Make www/emacs-w3m build and run with xemacs, fixing PR pkg/40685
Changes:

o accomodate for differing dependencies:
  + graphics/gifsicle as a bug workaround
  + devel/flim (this was an implicite dependency through devel/semi)
  - devel/{apel,semi}, editors/mule-ucs contained in xemacs-packages

o conditional PLIST changes for differing installation paths

Tested with xemacs 21.4 and emacs 22
2016-12-12 13:53:10 +00:00

16 lines
394 B
Makefile

# $NetBSD: options.mk,v 1.3 2016/12/12 13:53:10 hauke Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.emacs-w3m
PKG_SUPPORTED_OPTIONS= emacs-w3m-mew
.include "../../mk/bsd.options.mk"
PLIST_VARS+= mew
# xemacs-packages contain mew (but not mew-nntp)
.if (${EMACS_FLAVOR} == "xemacs")
PLIST.mew = yes
.elif !empty(PKG_OPTIONS:Memacs-w3m-mew)
.include "../../mail/mew/buildlink3.mk"
PLIST.mew= yes
.endif