1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

Move freetype support into GD support and switch to freetype2. GD

depends on freetype2 anyway.
This commit is contained in:
Dirk Froemberg 2001-08-08 21:02:35 +00:00
parent 046f47ada1
commit 2cebc7343e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=45984
2 changed files with 14 additions and 20 deletions

View File

@ -14,7 +14,6 @@ else
--checklist "\n\
Please select desired options:" -1 -1 16 \
GD "GD library support" OFF \
FreeType "TrueType font rendering (implies GD)" OFF \
zlib "zlib library support" ON \
mcrypt "Encryption support" OFF \
mhash "Crypto-hashing support" OFF \
@ -73,15 +72,13 @@ while [ "$1" ]; do
case $1 in
\"GD\")
echo "LIB_DEPENDS+= gd.2:\${PORTSDIR}/graphics/gd"
echo "CONFIGURE_ARGS+=--with-gd=\${PREFIX}"
GD=1
;;
\"FreeType\")
echo "LIB_DEPENDS+= ttf.4:\${PORTSDIR}/print/freetype"
echo "CONFIGURE_ARGS+=--with-ttf=\${PREFIX}"
if [ -z "$GD" ]; then
set $* \"GD\"
fi
echo "LIB_DEPENDS+= freetype.7:\${PORTSDIR}/print/freetype2"
echo "LIB_DEPENDS+= png.4:\${PORTSDIR}/graphics/png"
echo "LIB_DEPENDS+= jpeg.9:\${PORTSDIR}/graphics/jpeg"
echo "CONFIGURE_ARGS+=--with-gd=\${PREFIX} \\"
echo " --with-freetype-dir=\${PREFIX} \\"
echo " --with-jpeg-dir=\${PREFIX} \\"
echo " --with-png-dir=\${PREFIX}"
;;
\"zlib\")
echo "CONFIGURE_ARGS+=--with-zlib"

View File

@ -14,7 +14,6 @@ else
--checklist "\n\
Please select desired options:" -1 -1 16 \
GD "GD library support" OFF \
FreeType "TrueType font rendering (implies GD)" OFF \
zlib "zlib library support" ON \
mcrypt "Encryption support" OFF \
mhash "Crypto-hashing support" OFF \
@ -73,15 +72,13 @@ while [ "$1" ]; do
case $1 in
\"GD\")
echo "LIB_DEPENDS+= gd.2:\${PORTSDIR}/graphics/gd"
echo "CONFIGURE_ARGS+=--with-gd=\${PREFIX}"
GD=1
;;
\"FreeType\")
echo "LIB_DEPENDS+= ttf.4:\${PORTSDIR}/print/freetype"
echo "CONFIGURE_ARGS+=--with-ttf=\${PREFIX}"
if [ -z "$GD" ]; then
set $* \"GD\"
fi
echo "LIB_DEPENDS+= freetype.7:\${PORTSDIR}/print/freetype2"
echo "LIB_DEPENDS+= png.4:\${PORTSDIR}/graphics/png"
echo "LIB_DEPENDS+= jpeg.9:\${PORTSDIR}/graphics/jpeg"
echo "CONFIGURE_ARGS+=--with-gd=\${PREFIX} \\"
echo " --with-freetype-dir=\${PREFIX} \\"
echo " --with-jpeg-dir=\${PREFIX} \\"
echo " --with-png-dir=\${PREFIX}"
;;
\"zlib\")
echo "CONFIGURE_ARGS+=--with-zlib"