summaryrefslogtreecommitdiff
path: root/graphics/p5-GD
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2004-08-02 12:52:29 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2004-08-02 12:52:29 +0000
commit81be9d14ef76bcae27694382533b8520e5c06822 (patch)
treed13591bd0427ba5fcb3c800af6d1e5b5364dff37 /graphics/p5-GD
parentUpdate to 1.029 (diff)
- Update to 2.15
- remove files/patch-GD.xs - perl5.6 is baseline now PR: 69454 Submitted by: Cheng-Lung Sung Approved by: Philip M. Gollucci
Notes
Notes: svn path=/head/; revision=115260
Diffstat (limited to 'graphics/p5-GD')
-rw-r--r--graphics/p5-GD/Makefile10
-rw-r--r--graphics/p5-GD/distinfo4
-rw-r--r--graphics/p5-GD/files/patch-GD.xs33
3 files changed, 10 insertions, 37 deletions
diff --git a/graphics/p5-GD/Makefile b/graphics/p5-GD/Makefile
index be55dc4dfca2..62904d128725 100644
--- a/graphics/p5-GD/Makefile
+++ b/graphics/p5-GD/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= GD
-PORTVERSION= 2.07
+PORTVERSION= 2.15
CATEGORIES= graphics perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= GD
@@ -23,4 +23,10 @@ CONFIGURE_ARGS= -options "JPEG,FT,XPM" -lib_gd_path ${LOCALBASE} -lib_ft_path ${
MAN3= GD.3 GD::Polyline.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= This port requires perl 5.6.x or later. Install lang/perl5 then try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/graphics/p5-GD/distinfo b/graphics/p5-GD/distinfo
index 8fedab55bad0..42711ab08773 100644
--- a/graphics/p5-GD/distinfo
+++ b/graphics/p5-GD/distinfo
@@ -1,2 +1,2 @@
-MD5 (GD-2.07.tar.gz) = 7a44d308e082471e824fcbff044d8300
-SIZE (GD-2.07.tar.gz) = 153759
+MD5 (GD-2.15.tar.gz) = 8afc6be5a7a5be545840ff11fb3b02cf
+SIZE (GD-2.15.tar.gz) = 156948
diff --git a/graphics/p5-GD/files/patch-GD.xs b/graphics/p5-GD/files/patch-GD.xs
deleted file mode 100644
index fc34f5f463be..000000000000
--- a/graphics/p5-GD/files/patch-GD.xs
+++ /dev/null
@@ -1,33 +0,0 @@
---- GD.xs.orig Thu Apr 24 07:00:11 2003
-+++ GD.xs Wed May 14 17:33:13 2003
-@@ -18,6 +18,30 @@
- /* Copyright 1995 - 1998, Lincoln D. Stein. See accompanying README file for
- usage restrictions */
-
-+#ifndef PERL_REVISION
-+# ifndef __PATCHLEVEL_H_INCLUDED__
-+# include "patchlevel.h"
-+# endif
-+# ifndef PERL_REVISION
-+# define PERL_REVISION (5)
-+ /* Replace: 1 */
-+# define PERL_VERSION PATCHLEVEL
-+# define PERL_SUBVERSION SUBVERSION
-+ /* Replace PERL_PATCHLEVEL with PERL_VERSION */
-+ /* Replace: 0 */
-+# endif
-+#endif
-+
-+#if (PERL_VERSION == 5) && (PERL_SUBVERSION==3)
-+#ifndef PL_na
-+# define PL_na na
-+#endif
-+
-+#ifndef SvPV_nolen
-+# define SvPV_nolen(sv) SvPV(sv, PL_na)
-+#endif
-+#endif /* 5.00503 */
-+
- static int
- not_here(char *s)
- {