summaryrefslogtreecommitdiff
path: root/graphics/gd/Makefile
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2003-06-23 09:53:10 +0000
committeradam <adam@pkgsrc.org>2003-06-23 09:53:10 +0000
commit28d812fa480577a779ef632f275d469e7db50449 (patch)
treea8962b48022cc7ae6934285b49c7e1fbeacc5254 /graphics/gd/Makefile
parent596c7dd8a74841865cfe697c80c87edb8dc3f3c6 (diff)
downloadpkgsrc-28d812fa480577a779ef632f275d469e7db50449.tar.gz
Update gd to 2.0.15
What's new: * Support for truecolor images * Support for alpha channels * The specialized .gd and .gd2 file formats * Documentation fixes * Bug fixes
Diffstat (limited to 'graphics/gd/Makefile')
-rw-r--r--graphics/gd/Makefile27
1 files changed, 5 insertions, 22 deletions
diff --git a/graphics/gd/Makefile b/graphics/gd/Makefile
index e0f620e71ec..ddb20a2c3ef 100644
--- a/graphics/gd/Makefile
+++ b/graphics/gd/Makefile
@@ -1,39 +1,22 @@
-# $NetBSD: Makefile,v 1.37 2003/06/02 01:19:29 jschauma Exp $
+# $NetBSD: Makefile,v 1.38 2003/06/23 09:53:10 adam Exp $
#
-DISTNAME= gd-1.8.4
-PKGREVISION= 1
+DISTNAME= gd-2.0.15
CATEGORIES= graphics
MASTER_SITES= http://www.boutell.com/gd/http/
-MAINTAINER= tech-pkg@netbsd.org
+MAINTAINER= adam@netbsd.org
HOMEPAGE= http://www.boutell.com/gd/
COMMENT= graphics library for fast PNG creation
USE_BUILDLINK2= YES
USE_LIBTOOL= YES
USE_X11= YES
+GNU_CONFIGURE= YES
REPLACE_PERL= bdftogd
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "SunOS"
-MAKE_ENV+= EXTRA_LIBS="-lsocket -lnsl"
-.endif
-
-CPPFLAGS+= -I${BUILDLINK_PREFIX.freetype}/include/freetype # freetype.h
-CPPFLAGS+= -I${BUILDLINK_PREFIX.xpm}/include/X11 # xpm.h
-
-# When the API changes and breaks binary-compatibility with the previous
-# version, increment the MAJOR by 1 and reset the MINOR to 0. Otherwise,
-# bump the MINOR when a new version comes out.
-#
-GD_MAJOR= 1
-GD_MINOR= 9
-MAKE_ENV+= GD_MAJOR="${GD_MAJOR}" GD_MINOR="${GD_MINOR}" COMPILER="${CC}"
-
.include "../../devel/zlib/buildlink2.mk"
-.include "../../graphics/freetype-lib/buildlink2.mk"
+.include "../../graphics/freetype2/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../graphics/xpm/buildlink2.mk"