aboutsummaryrefslogtreecommitdiff
path: root/textproc/htmldoc
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-03-21 00:04:42 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-03-21 00:04:42 +0000
commit54482e313a5b1997823369289ba4cc6f7581f48c (patch)
tree816345c0a7ce74cdb02cdea41ab2763ed245cf28 /textproc/htmldoc
parent537caf4c778909034691c08421336c67cc017edd (diff)
downloadports-54482e313a5b1997823369289ba4cc6f7581f48c.tar.gz
ports-54482e313a5b1997823369289ba4cc6f7581f48c.zip
- adopt optionsNG
- trim historical header Approved by: portmgr (miwi)
Notes
Notes: svn path=/head/; revision=314780
Diffstat (limited to 'textproc/htmldoc')
-rw-r--r--textproc/htmldoc/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/textproc/htmldoc/Makefile b/textproc/htmldoc/Makefile
index 2df6b492d83f..032ad8822524 100644
--- a/textproc/htmldoc/Makefile
+++ b/textproc/htmldoc/Makefile
@@ -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 PostScript
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