7a9ee81fcc
www/htmldoc www/htmldoc-x11 The latter is now just www/htmldoc built with a specific set of options. Changes include: + Add options.mk that supports a new option: htmldoc-gui Build with GUI support + Remove Makefile.common and move all logic into htmldoc/Makefile and htmldoc/options.mk. + Add full DESTDIR support. + Bump the PKGREVISION for htmldoc and htmldoc-x11 to 7. Both packages now track and use the same PKGREVISION number.
17 lines
413 B
Makefile
17 lines
413 B
Makefile
# $NetBSD: options.mk,v 1.1 2008/04/22 16:24:31 jlam Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.htmldoc
|
|
PKG_SUPPORTED_OPTIONS= htmldoc-gui
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
###
|
|
### X11 GUI support
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mhtmldoc-gui)
|
|
. include "../../x11/fltk/buildlink3.mk"
|
|
. include "../../x11/libXpm/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-gui --with-x
|
|
.else
|
|
CONFIGURE_ARGS+= --without-gui --without-x
|
|
.endif
|