# Created by: Ying-Chieh Liao # $FreeBSD$ PORTNAME= ksmp3play PORTVERSION= 0.5.2.1 PORTREVISION= 4 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 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