Date: Thu, 21 Mar 2013 00:04:43 +0000 (UTC) From: Jason Helfman <jgh@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r314780 - head/textproc/htmldoc Message-ID: <201303210004.r2L04hou039110@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jgh Date: Thu Mar 21 00:04:42 2013 New Revision: 314780 URL: http://svnweb.freebsd.org/changeset/ports/314780 Log: - adopt optionsNG - trim historical header Approved by: portmgr (miwi) Modified: head/textproc/htmldoc/Makefile Modified: head/textproc/htmldoc/Makefile ============================================================================== --- head/textproc/htmldoc/Makefile Thu Mar 21 00:01:44 2013 (r314779) +++ head/textproc/htmldoc/Makefile Thu Mar 21 00:04:42 2013 (r314780) @@ -1,9 +1,5 @@ -# New ports collection makefile for: htmldoc -# Date created: 12 June 2001 -# Whom: Glenn Trewitt <glenn@trewitt.org> -# +# Created by: Glenn Trewitt <glenn@trewitt.org> # $FreeBSD$ -# PORTNAME= htmldoc PORTVERSION= 1.8.27 @@ -19,7 +15,8 @@ COMMENT= Converts HTML to PDF and/or Pos LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \ png15:${PORTSDIR}/graphics/png -OPTIONS= HTMLDOCGUI "Build GUI front-end" off +OPTIONS_DEFINE= HTMLDOCGUI +HTMLDOCGUI_DESC= Build GUI front-end # .bz2 file is available since Aug 2, but we don't want to # start mirroring _in addition to_ the .gz variant. When the # vendor's release is updated again, we should switch to .bz2 @@ -47,8 +44,9 @@ post-configure: 's|../png/libpng.a ../zlib/libz.a ../jpeg/libjpeg.a|-ljpeg -lpng -lz|' ${WRKSRC}/Makedefs .include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if !defined(WITHOUT_HTMLDOCGUI) +.if ${PORT_OPTIONS:MHTMLDOCGUI} LIB_DEPENDS+= fltk:${PORTSDIR}/x11-toolkits/fltk CONFIGURE_ARGS+=--with-gui=yes .else
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303210004.r2L04hou039110>