aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gd
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2007-09-30 12:28:04 +0800
committerdinoex <dinoex@FreeBSD.org>2007-09-30 12:28:04 +0800
commitff288cf007a5f5a5bc85237067de2e141fafb9f2 (patch)
treec3bb2687f34bcaa08c968c6d774d620362615c3e /graphics/gd
parentaf5eb47d2ea2afa3132667a834cc08044769abd4 (diff)
downloadfreebsd-ports-gnome-ff288cf007a5f5a5bc85237067de2e141fafb9f2.tar.gz
freebsd-ports-gnome-ff288cf007a5f5a5bc85237067de2e141fafb9f2.tar.zst
freebsd-ports-gnome-ff288cf007a5f5a5bc85237067de2e141fafb9f2.zip
- use the OPTION infrastructure
PR: 115688 Submitted by: Xin LI
Diffstat (limited to 'graphics/gd')
-rw-r--r--graphics/gd/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/graphics/gd/Makefile b/graphics/gd/Makefile
index 475447f80eb8..24f89dd37ef2 100644
--- a/graphics/gd/Makefile
+++ b/graphics/gd/Makefile
@@ -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: