git: 869d6b7e6f4c - main - multimedia/gmerlin: Mark DEPRECATED

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 20 Oct 2023 21:04:49 UTC
The branch main has been updated by bofh:

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

commit 869d6b7e6f4c00abb1cfac680e802ea14c816396
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-10-20 18:10:21 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-10-20 21:04:38 +0000

    multimedia/gmerlin: Mark DEPRECATED
    
    - Last upstream release was in 2012
    - Set EXPIRATION_DATE to 2023-12-31
    - Utilize USES=localbase
    - Pet portclippy
---
 multimedia/gmerlin/Makefile | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/multimedia/gmerlin/Makefile b/multimedia/gmerlin/Makefile
index 0be4244f7c6e..062635dc73e2 100644
--- a/multimedia/gmerlin/Makefile
+++ b/multimedia/gmerlin/Makefile
@@ -11,27 +11,31 @@ WWW=		http://gmerlin.sourceforge.net/
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=		Upstream last activity was in 2012
+EXPIRATION_DATE=	2023-12-31
+
 LIB_DEPENDS=	libexif.so:graphics/libexif \
 		libgavl.so:multimedia/gavl \
 		libfontconfig.so:x11-fonts/fontconfig
 
-USES=		gettext gl gnome libtool makeinfo pathfix pkgconfig sqlite xorg
+USES=		gettext gl gnome libtool localbase makeinfo pathfix pkgconfig sqlite xorg
+USE_GL=		gl
 USE_GNOME=	gtk20 libxml2
+USE_LDCONFIG=	yes
 USE_XORG=	x11 xext xfixes xinerama xv
-USE_GL=		gl
+
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	ac_cv_func_inotify_init=no
 CONFIGURE_ARGS=	--disable-v4l --disable-v4l2 --disable-v4lconvert \
 		--without-doxygen --with-cpuflags=none --disable-musicbrainz \
 		--disable-esd --disable-lqt
-USE_LDCONFIG=	yes
-LLD_UNSAFE=	yes
+CONFIGURE_ENV=	ac_cv_func_inotify_init=no
+
 INSTALL_TARGET=	install-strip
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LIBS+=		-L${LOCALBASE}/lib
 LDFLAGS+=	-Wl,--add-needed
 
+LLD_UNSAFE=	yes
+
 INFO=		gmerlin
 
 OPTIONS_DEFINE=		ALSA CDDB CDIO JACK JPEG LIBVISUAL \
@@ -73,7 +77,7 @@ post-patch:
 	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
 		's|-ldl||g'
 
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	(cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR})