- use the OPTION infrastructure

PR:		115688
Submitted by:	Xin LI
This commit is contained in:
Dirk Meyer 2007-09-30 04:28:04 +00:00
parent c1e13d65de
commit 8fd98f087d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200407

View File

@ -32,6 +32,11 @@ FEATURES= GD_JPEG GD_FREETYPE GD_PNG GD_GIF GD_GIFANIM GD_OPENPOLYGON
USE_LDCONFIG= yes
WANT_PERL= yes
OPTIONS= X11 "X11 support" off \
XPM "XPM color bitmap loading support (requires X11)" off \
FONTCONFIG "fontconfig library support (requires X11)" off \
ICONV "iconv support" off
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_X11)
@ -69,11 +74,7 @@ FONTBASE= ${X11BASE}/lib/X11/fonts
pre-extract::
@${ECHO_MSG} ""
@${ECHO_MSG} "gd has the following tunables:"
@${ECHO_MSG} ""
@${ECHO_MSG} " WITH_XPM=yes Turns on Xpm support"
@${ECHO_MSG} " WITH_FONTCONFIG=yes Turns on Fontconfig support"
@${ECHO_MSG} " WITH_ICONV=yes Turns on iconv support"
@${ECHO_MSG} "GD_FONTS can be set to specify an alternative list of .bdf files"
@${ECHO_MSG} ""
post-configure: