diff options
author | Rene Ladan <rene@FreeBSD.org> | 2016-01-26 21:24:52 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2016-01-26 21:24:52 +0000 |
commit | 53f742ca21fee1774af6c3833d99957f6185638e (patch) | |
tree | 79c62e0a27c094f02cbe485b41f215760d9c65e8 /graphics | |
parent | 8ac3b4dbafb72fa24890afeaa937b517694654c3 (diff) | |
download | ports-53f742ca21fee1774af6c3833d99957f6185638e.tar.gz ports-53f742ca21fee1774af6c3833d99957f6185638e.zip |
Notes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/php5-swfed/Makefile | 57 | ||||
-rw-r--r-- | graphics/php5-swfed/distinfo | 2 | ||||
-rw-r--r-- | graphics/php5-swfed/files/patch-swf__gif.c | 83 | ||||
-rw-r--r-- | graphics/php5-swfed/pkg-descr | 3 | ||||
-rw-r--r-- | graphics/php5-swfed/pkg-plist | 12 |
6 files changed, 0 insertions, 158 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 0cb09c2441cf..4cd1f46d7c49 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -767,7 +767,6 @@ SUBDIR += php5-exif SUBDIR += php5-ffmpeg SUBDIR += php5-gd - SUBDIR += php5-swfed SUBDIR += php55-exif SUBDIR += php55-gd SUBDIR += php56-exif diff --git a/graphics/php5-swfed/Makefile b/graphics/php5-swfed/Makefile deleted file mode 100644 index a67a2c945f41..000000000000 --- a/graphics/php5-swfed/Makefile +++ /dev/null @@ -1,57 +0,0 @@ -# Created by: TAKATSU Tomonari <tota@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= swfed -PORTVERSION= 0.62 -PORTREVISION= 4 -CATEGORIES= graphics www -MASTER_SITES= SFJP/${PORTNAME}/60548 -PKGNAMEPREFIX= php5- - -MAINTAINER= yoya@awm.jp -COMMENT= PHP extension to edit SWF file - -LICENSE= PHP301 - -DEPRECATED= PHP 5.4 EOL reached -EXPIRATION_DATE= 2016-01-15 - -BUILD_DEPENDS= re2c:${PORTSDIR}/devel/re2c -LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib \ - libpng.so:${PORTSDIR}/graphics/png - -DEFAULT_PHP_VER= 5 -USE_PHP= zlib -USE_PHPEXT= yes - -WRKSRC= ${WRKDIR}/${DISTNAME}/src -CONFIGURE_ARGS= --with-png-dir=${LOCALBASE} --with-gif-dir=${LOCALBASE} - -PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} - -PORTDOCS= readme.txt -PORTEXAMPLES= * - -OPTIONS_DEFINE= DOCS EXAMPLES - -post-install: - @${MKDIR} ${STAGEDIR}${WWWDIR} - ${CP} -R ${WRKDIR}/${DISTNAME}/www/ ${STAGEDIR}${WWWDIR} - -post-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/${PORTDOCS} ${STAGEDIR}${DOCSDIR} - -post-install-EXAMPLES-on: - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/sample/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} - -x-generate-plist: stage - ${ECHO_CMD} '@owner %%WWWOWN%%' > pkg-plist.new - ${ECHO_CMD} '@group %%WWWGRP%%' >> pkg-plist.new - ${FIND} ${STAGEDIR}${WWWDIR} -type f | ${SORT} | ${SED} -e 's,${STAGEDIR}${WWWDIR},%%WWWDIR%%,g' >> pkg-plist.new - ${FIND} ${STAGEDIR}${WWWDIR} -type d -depth | ${SORT} -r | ${SED} -e 's,${STAGEDIR}${WWWDIR},@dir %%WWWDIR%%,g' >> pkg-plist.new - ${ECHO_CMD} '@owner' >> pkg-plist.new - ${ECHO_CMD} '@group' >> pkg-plist.new - -.include <bsd.port.mk> diff --git a/graphics/php5-swfed/distinfo b/graphics/php5-swfed/distinfo deleted file mode 100644 index 5e464cb75d77..000000000000 --- a/graphics/php5-swfed/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (swfed-0.62.tar.gz) = da92ef9c4e3b9665bec41a390a502638bcf38a22dc6f742c239d4fde84bd95e8 -SIZE (swfed-0.62.tar.gz) = 455070 diff --git a/graphics/php5-swfed/files/patch-swf__gif.c b/graphics/php5-swfed/files/patch-swf__gif.c deleted file mode 100644 index b91cb70f5b90..000000000000 --- a/graphics/php5-swfed/files/patch-swf__gif.c +++ /dev/null @@ -1,83 +0,0 @@ ---- swf_gif.c.orig 2014-02-10 02:32:16 UTC -+++ swf_gif.c -@@ -132,14 +132,22 @@ gifconv_gif2lossless(unsigned char *gif_ - gif_buff.data = gif_data; - gif_buff.data_len = gif_data_len; - gif_buff.data_offset = 0; -+#if GIFLIB_MAJOR >= 5 -+ GifFile = DGifOpen(& gif_buff, gif_data_read_func, NULL); -+#else - GifFile = DGifOpen(& gif_buff, gif_data_read_func); -+#endif - if (GifFile == NULL) { - fprintf(stderr, "gifconv_gif2lossless: can't open GIFFile\n"); - return NULL; - } - if (DGifSlurp(GifFile) == GIF_ERROR) { - fprintf(stderr, "gifconv_gif2lossless: DGifSlurp failed\n"); -+#if GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1 || GIFLIB_MAJOR > 5 -+ DGifCloseFile(GifFile, NULL); -+#else - DGifCloseFile(GifFile); -+#endif - return NULL; - } - Image = GifFile->SavedImages[0]; -@@ -152,7 +160,11 @@ gifconv_gif2lossless(unsigned char *gif_ - bpp = ColorMap->BitsPerPixel; - if (bpp > 8) { - fprintf(stderr, "gifconv_gif2lossless: bpp=%d not implemented. accept only bpp <= 8\n", bpp); -+#if GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1 || GIFLIB_MAJOR > 5 -+ DGifCloseFile(GifFile, NULL); -+#else - DGifCloseFile(GifFile); -+#endif - return NULL; - } - palette_num = ColorMap->ColorCount; -@@ -216,7 +228,11 @@ gifconv_gif2lossless(unsigned char *gif_ - * destruct - */ - if (GifFile) { -+#if GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1 || GIFLIB_MAJOR > 5 -+ DGifCloseFile(GifFile, NULL); -+#else - DGifCloseFile(GifFile); -+#endif - } - return image_data; - } -@@ -252,7 +268,11 @@ gifconv_lossless2gif(void *image_data, - gif_buff.data = NULL; - gif_buff.data_len = 0; - gif_buff.data_offset = 0; -+#if GIFLIB_MAJOR >= 5 -+ GifFile = EGifOpen(& gif_buff, gif_data_write_func, NULL); -+#else - GifFile = EGifOpen(& gif_buff, gif_data_write_func); -+#endif - if (GifFile == NULL) { - fprintf(stderr, "gifconv_lossless2gif: can't open GIFFile\n"); - return NULL; -@@ -292,13 +312,21 @@ gifconv_lossless2gif(void *image_data, - } - - GifFile->SavedImages[0].RasterBits = gif_image_data; -+#if GIFLIB_MAJOR >= 5 -+ GifFile->SColorMap = GifMakeMapObject(ColorCount, Colors); -+#else - GifFile->SColorMap = MakeMapObject(ColorCount, Colors); -+#endif - EGifSpew(GifFile); // XXX - - free(gif_image_data); - - if (GifFile) { -+#if GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1 || GIFLIB_MAJOR > 5 -+ EGifCloseFile(GifFile, NULL); -+#else - EGifCloseFile(GifFile); -+#endif - } - *length = gif_buff.data_offset; - return gif_buff.data; diff --git a/graphics/php5-swfed/pkg-descr b/graphics/php5-swfed/pkg-descr deleted file mode 100644 index 24bf785a7735..000000000000 --- a/graphics/php5-swfed/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -SWF Editor is an extension for PHP that edits contents in SWF file. - -WWW: http://sourceforge.jp/projects/swfed/ diff --git a/graphics/php5-swfed/pkg-plist b/graphics/php5-swfed/pkg-plist deleted file mode 100644 index a7b6fb8b62ae..000000000000 --- a/graphics/php5-swfed/pkg-plist +++ /dev/null @@ -1,12 +0,0 @@ -@owner %%WWWOWN%% -@group %%WWWGRP%% -%%WWWDIR%%/define.php -%%WWWDIR%%/index.php -%%WWWDIR%%/shapetpl.swf -%%WWWDIR%%/swfimage.php -%%WWWDIR%%/swfimagelist.php -%%WWWDIR%%/swfimagereplace.php -%%WWWDIR%%/swfshape.php -@dir %%WWWDIR%% -@owner -@group |