summaryrefslogtreecommitdiff
path: root/graphics/gd1/Makefile
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2001-08-21 01:30:32 +0000
committerMikhail Teterin <mi@FreeBSD.org>2001-08-21 01:30:32 +0000
commit1a136774b674fd6eb237761252f5dcbb15bf9cb7 (patch)
tree1a729a223c03120e023366eb25c68b04765f74f3 /graphics/gd1/Makefile
parentUpdate to version 1.5.5. (diff)
Restore the ability to _read_ gif images, removed by the author due
to fear of Unisys... Bump up PORTREVISION. Approved by: maintainer timeout :( (since July 27)
Notes
Notes: svn path=/head/; revision=46568
Diffstat (limited to 'graphics/gd1/Makefile')
-rw-r--r--graphics/gd1/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/graphics/gd1/Makefile b/graphics/gd1/Makefile
index d58e80f3fa93..d469e912da33 100644
--- a/graphics/gd1/Makefile
+++ b/graphics/gd1/Makefile
@@ -7,19 +7,23 @@
PORTNAME= gd
PORTVERSION= 1.8.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES+= graphics
MASTER_SITES= http://www.boutell.com/gd/http/ \
ftp://ftp.boutell.com/pub/boutell/gd/ \
+ http://virtual-estates.net/~mi/port-stuff/ \
${MASTER_SITE_RINGSERVER}
MASTER_SITE_SUBDIR= graphics/gd
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} gd_gif_in.c.bz2
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER?= billf@FreeBSD.org
-BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 # XXX
+BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 \
+ bzip2:${PORTSDIR}/archivers/bzip2
LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg \
- freetype.7:${PORTSDIR}/print/freetype2
+ freetype:${PORTSDIR}/print/freetype2
.if defined(WITH_X11)
USE_XLIB= yes
@@ -28,6 +32,9 @@ USE_XPM= yes
INSTALLS_SHLIB= yes
+post-extract:
+ bzip2 -d < ${_DISTDIR}/gd_gif_in.c.bz2 > ${WRKSRC}/gd_gif_in.c
+
pre-everything:
.if !defined(WITH_X11)
@${ECHO_MSG} "If you want to compile in X support use "