git: cf62f1853487 - main - graphics/ming: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Sun, 01 Sep 2024 14:22:39 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cf62f185348727ed9ee79a6d2c1803cb939d17bd

commit cf62f185348727ed9ee79a6d2c1803cb939d17bd
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2024-09-01 14:22:33 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-09-01 14:22:33 +0000

    graphics/ming: Remove expired port
    
    2024-06-30 graphics/ming: SWF format is essentially dead after Flash Player's EoL
---
 MOVED                                  |   1 +
 graphics/Makefile                      |   1 -
 graphics/ming/Makefile                 |  59 ------------------
 graphics/ming/distinfo                 |   3 -
 graphics/ming/files/patch-configure.in |  70 ----------------------
 graphics/ming/pkg-descr                |   2 -
 graphics/ming/pkg-plist                | 106 ---------------------------------
 7 files changed, 1 insertion(+), 241 deletions(-)

diff --git a/MOVED b/MOVED
index a6cfe2f2585c..749379cf3916 100644
--- a/MOVED
+++ b/MOVED
@@ -3450,3 +3450,4 @@ irc/ctrlproxy||2024-09-01|Has expired: Development stalled upstream, consider sw
 devel/electron28||2024-09-01|Has expired: EOLed upstream, switch to newer version
 graphics/R-cran-rgdal||2024-09-01|Has expired: Fails to build and upstream recommends using math/R-cran-sf or math/R-cran-terra instead
 math/ploticus||2024-09-01|Has expired: Depends on expired graphics/ming
+graphics/ming||2024-09-01|Has expired: SWF format is essentially dead after Flash Player's EoL
diff --git a/graphics/Makefile b/graphics/Makefile
index 2797bccb73fb..e3e9ead3e7f4 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -584,7 +584,6 @@
     SUBDIR += metapixel
     SUBDIR += milton
     SUBDIR += minder
-    SUBDIR += ming
     SUBDIR += mirtk
     SUBDIR += movit
     SUBDIR += mozjpeg
diff --git a/graphics/ming/Makefile b/graphics/ming/Makefile
deleted file mode 100644
index c7964970de13..000000000000
--- a/graphics/ming/Makefile
+++ /dev/null
@@ -1,59 +0,0 @@
-PORTNAME=	ming
-DISTVERSIONPREFIX=	ming-
-DISTVERSION=	0_4_8
-CATEGORIES=	graphics
-
-MAINTAINER=	sunpoet@FreeBSD.org
-COMMENT=	Flash 4/5 movie output library with many languages support
-WWW=		http://www.libming.org/
-
-LICENSE=	GPLv2 LGPL21
-LICENSE_COMB=	multi
-LICENSE_FILE_GPLv2=	${WRKSRC}/LICENSE_GPL2
-LICENSE_FILE_LGPL21=	${WRKSRC}/LICENSE
-
-DEPRECATED=	SWF format is essentially dead after Flash Player's EoL
-EXPIRATION_DATE=2024-06-30
-
-LIB_DEPENDS=	libfreetype.so:print/freetype2 \
-		libgif.so:graphics/giflib \
-		libpng.so:graphics/png
-
-USES=		autoreconf bison cpe gmake libtool localbase pathfix pkgconfig shebangfix
-
-CFLAGS+=	-fcommon # https://github.com/libming/libming/issues/55
-CONFIGURE_ARGS=	--includedir=${PREFIX}/include/ming
-GNU_CONFIGURE=	yes
-INSTALL_TARGET=	install-strip
-MAKE_JOBS_UNSAFE=	yes
-USE_LDCONFIG=	yes
-
-PORTDOCS=	*
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	libming
-GH_PROJECT=	libming
-
-CONFLICTS_INSTALL=	ja-ming
-
-CPE_VENDOR=	libming
-
-PORTSCOUT=	limit:^ming-
-
-SHEBANG_FILES=	util/cws2fws
-
-OPTIONS_DEFINE=	DOCS
-
-post-install:
-	${MKDIR} ${STAGEDIR}${PREFIX}/include/ming/ ${STAGEDIR}${PREFIX}/include/ming/blocks/ ${STAGEDIR}${PREFIX}/include/ming/util/
-	cd ${WRKSRC}/util/ && ${INSTALL_SCRIPT} cws2fws ming-config ${STAGEDIR}${PREFIX}/bin/
-	cd ${WRKSRC}/ && ${INSTALL_DATA} *.h src/*.h ${STAGEDIR}${PREFIX}/include/ming/
-	cd ${WRKSRC}/src/blocks/ && ${INSTALL_DATA} *.h ${STAGEDIR}${PREFIX}/include/ming/blocks/
-	cd ${WRKSRC}/util/ && ${INSTALL_DATA} *.h ${STAGEDIR}${PREFIX}/include/ming/util/
-
-post-install-DOCS-on:
-	${MKDIR} ${STAGEDIR}${DOCSDIR}/ ${STAGEDIR}${DOCSDIR}/util/
-	cd ${WRKSRC}/ && ${INSTALL_DATA} HISTORY NEWS README TODO ${STAGEDIR}${DOCSDIR}/
-	cd ${WRKSRC}/util/ && ${INSTALL_DATA} README TIPS TODO swftoperl.html ${STAGEDIR}${DOCSDIR}/util/
-
-.include <bsd.port.mk>
diff --git a/graphics/ming/distinfo b/graphics/ming/distinfo
deleted file mode 100644
index 14ff1ca3eea8..000000000000
--- a/graphics/ming/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1494221969
-SHA256 (libming-libming-ming-0_4_8_GH0.tar.gz) = 2a44cc8b7f6506adaa990027397b6e0f60ba0e3c1fe8c9514be5eb8e22b2375c
-SIZE (libming-libming-ming-0_4_8_GH0.tar.gz) = 14908459
diff --git a/graphics/ming/files/patch-configure.in b/graphics/ming/files/patch-configure.in
deleted file mode 100644
index 1b79fe266905..000000000000
--- a/graphics/ming/files/patch-configure.in
+++ /dev/null
@@ -1,70 +0,0 @@
-Obtained from:	https://github.com/libming/libming/commit/a89a619e187ebe070db2a1760f3b90489bfff382
-
---- configure.in.orig	2017-04-07 08:12:56 UTC
-+++ configure.in
-@@ -247,7 +247,7 @@ AC_CHECK_LIB(X11, XGetImage, XLIB="-lX11", XLIB="")
- 
- AC_ARG_ENABLE(
- [freetype],
--[  --enable-freetype       Enable freetype support (default: enabled)],
-+[  --disable-freetype      Disable freetype support (default: enabled)],
- [case "${enableval}" in
-   yes) freetype_support=yes ;;
-    no) freetype_support=no ;;
-@@ -257,26 +257,10 @@ freetype_support=yes)
- 
- if test "$freetype_support" = "yes"; then
- 	dnl Check for the freetype library
--	AC_ARG_WITH(freetype-config, [  --with-freetype-config=PROG   Use FreeType configuration program PROG], freetype_config=$withval, freetype_config=yes)
--	if test "$freetype_config" = "yes"; then 
--		AC_PATH_PROG(ft_config,freetype-config,no)
--        	if test "$ft_config" = "no"; then
--			echo "To compile ming please install freetype:"
--			echo " as .deb user: sudo apt-get install libfreetype6 libfreetype6-dev"
--			echo ""
--			echo "or disable the freetype configuration option:"
--			echo " --disable-freetype"
--                	AC_MSG_ERROR([Could not detect freetype-config!])
--        	fi
--	else
--        	ft_config="$freetype_config"
--	fi
--
--	FREETYPE_CFLAGS="`$ft_config --cflags`"
--	FREETYPE_LIBS="`$ft_config --libs`"
--
--	AC_SUBST(FREETYPE_LIBS)
--	AC_SUBST(FREETYPE_CFLAGS)
-+	PKG_PROG_PKG_CONFIG
-+	PKG_CHECK_MODULES(FREETYPE, freetype2, HAS_FREETYPE=true,
-+		AC_MSG_ERROR([Could not find freetype])
-+	)
- fi
- 
- dnl Check for the ungif or gif (new or old) libraries
-@@ -334,9 +318,9 @@ if test -n "${ZLIB}" -a -n "${ZLIB_INC}"; then
- 	AC_DEFINE([USE_ZLIB], [1], [Use zlib])
- fi
- 
--AM_CONDITIONAL(USE_FREETYPE, test x${ft_config} != x)
--if test -n "${ft_config}"; then
--	AC_DEFINE(USE_FREETYPE, [1], [Use freetype library])
-+AM_CONDITIONAL(USE_FREETYPE, test x${HAS_FREETYPE} != x)
-+if test x${HAS_FREETYPE} = xtrue ; then
-+       AC_DEFINE(USE_FREETYPE, [1], [Use freetype library])
- fi
- 
- AM_CONDITIONAL(GIFLIB_GIFERRORSTRING, test x"$ac_cv_lib_gif_GifErrorString" = xyes)
-@@ -504,10 +488,10 @@ else
- 	echo "  ZLIB enabled ($ZLIB)"
- fi
- 
--if test x"$ft_config" = "x"; then
-+if test x"$HAS_FREETYPE" = "x"; then
- 	echo "  Freetype library disabled"
- else
--	echo "  Freetype library enabled ($ft_config)"
-+	echo "  Freetype library enabled ($FREETYPE_LIBS)"
- fi
- 
- if test x"$GIFLIB" = "x" -o x"$GIFINC" = "x"; then
diff --git a/graphics/ming/pkg-descr b/graphics/ming/pkg-descr
deleted file mode 100644
index 64ae1618c682..000000000000
--- a/graphics/ming/pkg-descr
+++ /dev/null
@@ -1,2 +0,0 @@
-Ming is an LGPL'ed Flash 4/5 (TM) movie (SWF) output library with PHP,
-Python, Ruby, Perl 5, C and C++ interfaces.
diff --git a/graphics/ming/pkg-plist b/graphics/ming/pkg-plist
deleted file mode 100644
index fc1a9ea01dae..000000000000
--- a/graphics/ming/pkg-plist
+++ /dev/null
@@ -1,106 +0,0 @@
-bin/cws2fws
-bin/dbl2png
-bin/gif2dbl
-bin/gif2mask
-bin/listaction
-bin/listaction_d
-bin/listfdb
-bin/listjpeg
-bin/listmp3
-bin/listswf
-bin/listswf_d
-bin/makefdb
-bin/makeswf
-bin/ming-config
-bin/png2dbl
-bin/raw2adpcm
-bin/swftocxx
-bin/swftoperl
-bin/swftophp
-bin/swftopython
-bin/swftotcl
-include/ming/abctypes.h
-include/ming/actiontypes.h
-include/ming/blocklist.h
-include/ming/blocks/action.h
-include/ming/blocks/bitmap.h
-include/ming/blocks/block.h
-include/ming/blocks/blocktypes.h
-include/ming/blocks/browserfont.h
-include/ming/blocks/button.h
-include/ming/blocks/character.h
-include/ming/blocks/cxform.h
-include/ming/blocks/dbl.h
-include/ming/blocks/error.h
-include/ming/blocks/exports.h
-include/ming/blocks/fdbfont.h
-include/ming/blocks/fileattrs.h
-include/ming/blocks/fillstyle.h
-include/ming/blocks/filter.h
-include/ming/blocks/flv.h
-include/ming/blocks/font.h
-include/ming/blocks/fontinfo.h
-include/ming/blocks/fromswf.h
-include/ming/blocks/gradient.h
-include/ming/blocks/imports.h
-include/ming/blocks/input.h
-include/ming/blocks/jpeg.h
-include/ming/blocks/libswf.h
-include/ming/blocks/linestyle.h
-include/ming/blocks/matrix.h
-include/ming/blocks/metadata.h
-include/ming/blocks/method.h
-include/ming/blocks/morph.h
-include/ming/blocks/mp3.h
-include/ming/blocks/output.h
-include/ming/blocks/outputblock.h
-include/ming/blocks/placeobject.h
-include/ming/blocks/protect.h
-include/ming/blocks/rect.h
-include/ming/blocks/scalinggrid.h
-include/ming/blocks/scenedata.h
-include/ming/blocks/scriptlimits.h
-include/ming/blocks/shape.h
-include/ming/blocks/sound.h
-include/ming/blocks/soundinstance.h
-include/ming/blocks/soundstream.h
-include/ming/blocks/sprite.h
-include/ming/blocks/swf.h
-include/ming/blocks/symbolclass.h
-include/ming/blocks/tabindex.h
-include/ming/blocks/text.h
-include/ming/blocks/textfield.h
-include/ming/blocks/ttffont.h
-include/ming/blocks/utf8.h
-include/ming/blocks/videostream.h
-include/ming/displaylist.h
-include/ming/fill.h
-include/ming/font_util.h
-include/ming/gc.h
-include/ming/libming.h
-include/ming/ming.h
-include/ming/ming_config.h
-include/ming/mingpp.h
-include/ming/movie.h
-include/ming/movieclip.h
-include/ming/position.h
-include/ming/shape_cubic.h
-include/ming/shape_util.h
-include/ming/text_util.h
-include/ming/util/action.h
-include/ming/util/decompile.h
-include/ming/util/libswf.h
-include/ming/util/makeswf.h
-include/ming/util/output.h
-include/ming/util/outputdecl.h
-include/ming/util/parser.h
-include/ming/util/parserdecl.h
-include/ming/util/read.h
-include/ming/util/swfoutput.h
-include/ming/util/swftypes.h
-include/ming/util/vasprintf.h
-lib/libming.a
-lib/libming.so
-lib/libming.so.1
-lib/libming.so.1.4.7
-libdata/pkgconfig/libming.pc