# Created by: Ying-Chieh Liao # $FreeBSD: head/audio/ksmp3play/Makefile 547044 2020-08-30 09:47:49Z zeising $ 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