summaryrefslogtreecommitdiff
path: root/graphics/sdl_ttf
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-06-26 10:17:52 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-06-26 10:17:52 +0000
commitf579ab0379a542fdbcc78673889fbd6292d01e96 (patch)
treeaf024072dfad56d47f52567a7b3ee4ec176439e4 /graphics/sdl_ttf
parentFix segfaults when accessing a mailbox with 512 messages. (diff)
Update to 2.0.3.
Notes
Notes: svn path=/head/; revision=44447
Diffstat (limited to 'graphics/sdl_ttf')
-rw-r--r--graphics/sdl_ttf/Makefile11
-rw-r--r--graphics/sdl_ttf/distinfo2
-rw-r--r--graphics/sdl_ttf/files/patch-configure23
-rw-r--r--graphics/sdl_ttf/pkg-plist2
4 files changed, 32 insertions, 6 deletions
diff --git a/graphics/sdl_ttf/Makefile b/graphics/sdl_ttf/Makefile
index 2efe6a3a2f34..7c1a114f85c1 100644
--- a/graphics/sdl_ttf/Makefile
+++ b/graphics/sdl_ttf/Makefile
@@ -6,14 +6,16 @@
#
PORTNAME= sdl_ttf
-PORTVERSION= 1.2.2
+PORTVERSION= 2.0.3
CATEGORIES= graphics
-MASTER_SITES= http://www.libsdl.org/projects/SDL_ttf/src/
+MASTER_SITES= http://www.libsdl.org/projects/SDL_ttf/release/
DISTNAME= SDL_ttf-${PORTVERSION}
MAINTAINER= sobomax@FreeBSD.org
-LIB_DEPENDS= SDL-1.1.3:${PORTSDIR}/devel/sdl12
+BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2
+LIB_DEPENDS= SDL-1.1.3:${PORTSDIR}/devel/sdl12 \
+ freetype.6:${PORTSDIR}/print/freetype2
SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
@@ -22,7 +24,8 @@ USE_GMAKE= yes
USE_FREETYPE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
- CPPFLAGS="-I${LOCALBASE}/include"
+ CPPFLAGS="-I${LOCALBASE}/include/freetype2 \
+ -I${LOCALBASE}/include"
post-extract:
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
diff --git a/graphics/sdl_ttf/distinfo b/graphics/sdl_ttf/distinfo
index 8a40d65245c4..06d56332983c 100644
--- a/graphics/sdl_ttf/distinfo
+++ b/graphics/sdl_ttf/distinfo
@@ -1 +1 @@
-MD5 (SDL_ttf-1.2.2.tar.gz) = d20518e0287f92e370758c09046e4524
+MD5 (SDL_ttf-2.0.3.tar.gz) = 29d12d1b883bf834c291c93f52ba8dc5
diff --git a/graphics/sdl_ttf/files/patch-configure b/graphics/sdl_ttf/files/patch-configure
new file mode 100644
index 000000000000..f188d2b73d9e
--- /dev/null
+++ b/graphics/sdl_ttf/files/patch-configure
@@ -0,0 +1,23 @@
+
+$FreeBSD$
+
+--- configure.orig Thu Jun 21 08:22:18 2001
++++ configure Tue Jun 26 13:02:00 2001
+@@ -553,7 +553,7 @@
+ # if backwards compatibility has been broken,
+ # set BINARY_AGE and INTERFACE_AGE to 0.
+
+-MAJOR_VERSION=2
++MAJOR_VERSION=3
+ MINOR_VERSION=0
+ MICRO_VERSION=3
+ INTERFACE_AGE=3
+@@ -569,7 +569,7 @@
+
+ # libtool versioning
+ LT_RELEASE=$MAJOR_VERSION.$MINOR_VERSION
+-LT_CURRENT=`expr $MICRO_VERSION - $INTERFACE_AGE`
++LT_CURRENT=$MAJOR_VERSION
+ LT_REVISION=$INTERFACE_AGE
+ LT_AGE=`expr $BINARY_AGE - $INTERFACE_AGE`
+
diff --git a/graphics/sdl_ttf/pkg-plist b/graphics/sdl_ttf/pkg-plist
index d0fed7f5321b..cd2690746b59 100644
--- a/graphics/sdl_ttf/pkg-plist
+++ b/graphics/sdl_ttf/pkg-plist
@@ -2,4 +2,4 @@ bin/showfont
include/SDL11/SDL_ttf.h
lib/libSDL_ttf.a
lib/libSDL_ttf.so
-lib/libSDL_ttf.so.2
+lib/libSDL_ttf.so.3