summaryrefslogtreecommitdiff
path: root/graphics/gd
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2007-06-26 18:51:00 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2007-06-26 18:51:00 +0000
commitf07b8e6ae951da252e65c9b5fc205181164cc638 (patch)
tree11c81b10e649755e9f7809cd34a34690b1a26526 /graphics/gd
parent- Update to 2007-06-26 snapshot (diff)
- update to 2.0.35
reported by: shaun (portscout)
Notes
Notes: svn path=/head/; revision=194313
Diffstat (limited to 'graphics/gd')
-rw-r--r--graphics/gd/Makefile9
-rw-r--r--graphics/gd/distinfo6
2 files changed, 10 insertions, 5 deletions
diff --git a/graphics/gd/Makefile b/graphics/gd/Makefile
index 3e61ef13b3ed..4ac9eaecf87f 100644
--- a/graphics/gd/Makefile
+++ b/graphics/gd/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= gd
-PORTVERSION= 2.0.34
-PORTREVISION?= 1
+PORTVERSION= 2.0.35
+PORTREVISION?= 0
PORTEPOCH= 1
CATEGORIES+= graphics
MASTER_SITES= http://www.libgd.org/releases/
@@ -64,6 +64,8 @@ USE_PERL5_BUILD= yes
SCRIPTS_ENV+= GD_FONTS="${GD_FONTS}"
.endif
+FONTBASE= ${X11BASE}/lib/X11/fonts
+
pre-extract::
@${ECHO_MSG} ""
@${ECHO_MSG} "gd has the following tunables:"
@@ -86,6 +88,9 @@ post-configure:
-e 's|@FEATURES@|${FEATURES}|' \
${WRKSRC}/config/gdlib-config.in \
> ${WRKDIR}/gdlib-config
+ ${REINPLACE_CMD} \
+ -e 's|#define DEFAULT_FONTPATH .*|#define DEFAULT_FONTPATH "${FONTBASE}/TTF:${FONTBASE}/Type1:${FONTBASE}"|' \
+ ${WRKSRC}/gd.h
post-install:
${INSTALL_DATA} ${WRKSRC}/gdfx.h ${WRKSRC}/gdhelpers.h \
diff --git a/graphics/gd/distinfo b/graphics/gd/distinfo
index 7a5d6b806fd3..e7a05b8ddefc 100644
--- a/graphics/gd/distinfo
+++ b/graphics/gd/distinfo
@@ -1,3 +1,3 @@
-MD5 (gd-2.0.34.tar.bz2) = 8c25c322f12030b1c24488efd577fec0
-SHA256 (gd-2.0.34.tar.bz2) = 66baa531a860ca3e071d47eec7c0823c534a8a4dadf4cba6d17eeb6d4159d22f
-SIZE (gd-2.0.34.tar.bz2) = 1135372
+MD5 (gd-2.0.35.tar.bz2) = 6c6c3dbb7bf079e0bb5fbbfd3bb8a71c
+SHA256 (gd-2.0.35.tar.bz2) = bf222490749d2a9a9ac3593b01eb55aed98461ff81202414707f61b42aa300f9
+SIZE (gd-2.0.35.tar.bz2) = 1212730