From 1a136774b674fd6eb237761252f5dcbb15bf9cb7 Mon Sep 17 00:00:00 2001 From: Mikhail Teterin Date: Tue, 21 Aug 2001 01:30:32 +0000 Subject: 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) --- graphics/gd1/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'graphics/gd1/Makefile') 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 " -- cgit v1.2.3