aboutsummaryrefslogtreecommitdiff
path: root/graphics/p5-ming
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-10-08 18:44:20 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-10-08 18:44:20 +0000
commitb0817c276c629f467004ddba4992c8035640e353 (patch)
tree55ff0d2bf612e8cab95651b9de7717e8926557af /graphics/p5-ming
parentac3b40664877daf5506f3a080c468f84db1f54a3 (diff)
downloadports-b0817c276c629f467004ddba4992c8035640e353.tar.gz
ports-b0817c276c629f467004ddba4992c8035640e353.zip
Notes
Diffstat (limited to 'graphics/p5-ming')
-rw-r--r--graphics/p5-ming/Makefile3
-rw-r--r--graphics/p5-ming/files/patch-Makefile.in11
-rw-r--r--graphics/p5-ming/files/patch-perl_swf.h12
-rw-r--r--graphics/p5-ming/files/patch-src_blocks_gifdbl.c26
-rw-r--r--graphics/p5-ming/files/patch-util_gif2dbl.c14
-rw-r--r--graphics/p5-ming/files/patch-util_gif2mask.c14
6 files changed, 2 insertions, 78 deletions
diff --git a/graphics/p5-ming/Makefile b/graphics/p5-ming/Makefile
index a5ff780ea99c..79750cd34a82 100644
--- a/graphics/p5-ming/Makefile
+++ b/graphics/p5-ming/Makefile
@@ -2,7 +2,6 @@
# $FreeBSD$
PORTNAME= ming
-PORTREVISION= 4
CATEGORIES= graphics perl5
PKGNAMEPREFIX= p5-
@@ -11,6 +10,8 @@ COMMENT= Perl5 module for Ming which allows you to create Flash 4/5 movies
LICENSE= GPLv2 LGPL21
LICENSE_COMB= multi
+LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSE_GPL2
+LICENSE_FILE_LGPL21= ${WRKSRC}/LICENSE
OPTIONS_DEFINE= EXAMPLES
diff --git a/graphics/p5-ming/files/patch-Makefile.in b/graphics/p5-ming/files/patch-Makefile.in
deleted file mode 100644
index 410714cc29ce..000000000000
--- a/graphics/p5-ming/files/patch-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in.orig 2011-10-26 15:30:21.000000000 +0800
-+++ Makefile.in 2011-11-20 17:27:39.085225614 +0800
-@@ -431,7 +431,7 @@
- $(MAKE) -f Makefile.perl
-
- install: Makefile.perl
-- $(MAKE) -f Makefile.perl install PREFIX=$(prefix)
-+ $(MAKE) -f Makefile.perl pure_install PREFIX=$(prefix)
-
- Makefile.perl: Makefile.PL
- srcdir=$(srcdir) builddir=$(abs_builddir) $(PERL) $< PREFIX=$(prefix) FIRST_MAKEFILE=Makefile.perl
diff --git a/graphics/p5-ming/files/patch-perl_swf.h b/graphics/p5-ming/files/patch-perl_swf.h
deleted file mode 100644
index d8fe92d25b44..000000000000
--- a/graphics/p5-ming/files/patch-perl_swf.h
+++ /dev/null
@@ -1,12 +0,0 @@
---- perl_swf.h.orig 2011-10-26 14:33:18.000000000 +0800
-+++ perl_swf.h 2011-11-20 18:01:38.397227987 +0800
-@@ -66,5 +66,9 @@
- void swf_stash_refcnt_inc(SV *sv_key, SV *sv_value);
- void swf_stash_refcnt_dec(SV *sv_key);
-
-+#ifndef GvCV_set
-+#define GvCV_set(gv, cv) (GvCV(gv) = cv)
-+#endif
-+
- #endif /* PERL_SWF_H_INCLUDED */
-
diff --git a/graphics/p5-ming/files/patch-src_blocks_gifdbl.c b/graphics/p5-ming/files/patch-src_blocks_gifdbl.c
deleted file mode 100644
index 9de9ec94ed3d..000000000000
--- a/graphics/p5-ming/files/patch-src_blocks_gifdbl.c
+++ /dev/null
@@ -1,26 +0,0 @@
---- ../src/blocks/gifdbl.c.orig 2010-10-10 07:19:23 UTC
-+++ ../src/blocks/gifdbl.c
-@@ -227,7 +227,11 @@ SWFDBLBitmapData newSWFDBLBitmapData_fro
- SWFDBLBitmapData ret;
- struct dbl_data gifdata;
-
-+#if GIFLIB_MAJOR >= 5
-+ if((file = DGifOpenFileName(fileName, NULL)) == NULL)
-+#else
- if((file = DGifOpenFileName(fileName)) == NULL)
-+#endif
- return NULL;
- if(!readGif(file, &gifdata))
- return NULL;
-@@ -246,7 +250,11 @@ SWFDBLBitmapData newSWFDBLBitmapData_fro
- SWFDBLBitmapData ret;
- struct dbl_data gifdata;
-
-+#if GIFLIB_MAJOR >= 5
-+ if((file = DGifOpen(input, (InputFunc) gifReadFunc, NULL)) == NULL)
-+#else
- if((file = DGifOpen(input, (InputFunc) gifReadFunc)) == NULL)
-+#endif
- return NULL;
- if(!readGif(file, &gifdata))
- return NULL;
diff --git a/graphics/p5-ming/files/patch-util_gif2dbl.c b/graphics/p5-ming/files/patch-util_gif2dbl.c
deleted file mode 100644
index 740bb75ebcc3..000000000000
--- a/graphics/p5-ming/files/patch-util_gif2dbl.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- ../util/gif2dbl.c.orig 2013-06-08 14:08:51 UTC
-+++ ../util/gif2dbl.c
-@@ -59,7 +59,11 @@ unsigned char *readGif(char *fileName, i
- unsigned char *p;
- int i, nColors, size, alpha, bgColor, alignedWidth;
-
-+#if GIFLIB_MAJOR >= 5
-+ if((file = DGifOpenFileName(fileName, NULL)) == NULL)
-+#else
- if((file = DGifOpenFileName(fileName)) == NULL)
-+#endif
- error("Error opening file");
-
- if(DGifSlurp(file) != GIF_OK)
diff --git a/graphics/p5-ming/files/patch-util_gif2mask.c b/graphics/p5-ming/files/patch-util_gif2mask.c
deleted file mode 100644
index 84401fb53480..000000000000
--- a/graphics/p5-ming/files/patch-util_gif2mask.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- ../util/gif2mask.c.orig 2013-06-08 14:08:51 UTC
-+++ ../util/gif2mask.c
-@@ -28,7 +28,11 @@ unsigned char *readGif(char *fileName, i
- unsigned char *data;
- int i, nColors, size;
-
-+#if GIFLIB_MAJOR >= 5
-+ if((file = DGifOpenFileName(fileName, NULL)) == NULL)
-+#else
- if((file = DGifOpenFileName(fileName)) == NULL)
-+#endif
- error("Error opening file");
-
- if(DGifSlurp(file) != GIF_OK)