freebsd-ports/audio/ksmp3play/Makefile
Niclas Zeising a1b290c54d Extend expiration of ports broken with -fno-common
Extend the expiration of unmaintained leaf ports that are broken with
-fno-common and previously had a short expiration date.  The new date is set
to 2021-04-01, meaning the ports will be in the 2021Q2 branch, giving people
until 2021-06-30 (10 months from now) to fix issues.
Improve the wording of the deprecation message, mentioning both llvm 11 and
-fno-common.
Bump portrevision to force reinstall.  This way the warning message about
deprecation will be displayed to users installing or reinstalling the
software.

MFH:		2020Q3 (maybe)
2020-08-30 09:47:49 +00:00

42 lines
923 B
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= ksmp3play
PORTVERSION= 0.5.2.1
PORTREVISION= 5
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}/${PORTVERSION:R}
MAINTAINER= ports@FreeBSD.org
COMMENT= Curses-based MP3 player
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libsmpeg.so:multimedia/smpeg
GNU_CONFIGURE= yes
USES= ncurses pathfix sdl
USE_SDL= sdl
NO_WRKSUBDIR= yes
EXTRACT_AFTER_ARGS= --exclude CVS
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -fcommon
DEPRECATED= Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
EXPIRATION_DATE=2021-04-01
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e 's|-lcurses|-lncurses|' ${WRKSRC}/configure
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>