2001-11-04 16:48:46 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: ksmp3play
|
|
|
|
# Date created: Nov 4, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ksmp3play
|
|
|
|
PORTVERSION= 0.5.1
|
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= http://www.xanadunet.net/ksmp3play/
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 17:07:10 +00:00
|
|
|
COMMENT= An curses-based MP3 player
|
2001-11-04 16:48:46 +00:00
|
|
|
|
2003-04-04 05:34:50 +00:00
|
|
|
LIB_DEPENDS= smpeg.1:${PORTSDIR}/multimedia/smpeg
|
2001-11-04 16:48:46 +00:00
|
|
|
|
|
|
|
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
|
2003-01-13 11:00:48 +00:00
|
|
|
|
|
|
|
USE_REINPLACE= yes
|
2003-06-11 18:26:27 +00:00
|
|
|
USE_GETOPT_LONG=yes
|
2001-11-04 16:48:46 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= SDL_CONFIG=${SDL_CONFIG} \
|
2003-01-13 11:00:48 +00:00
|
|
|
CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2001-11-04 16:48:46 +00:00
|
|
|
MAN1= ksmp3play.1
|
|
|
|
|
|
|
|
post-patch:
|
2002-07-08 10:22:14 +00:00
|
|
|
@${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
|
2001-11-04 16:48:46 +00:00
|
|
|
|
|
|
|
post-install:
|
2003-01-13 11:00:48 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-11-04 16:48:46 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2003-01-13 11:00:48 +00:00
|
|
|
${TAR} -C ${WRKSRC}/doc --exclude "CVS" -cf - . | \
|
|
|
|
${TAR} -C ${DOCSDIR} --unlink -xf -
|
|
|
|
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
|
2001-11-04 16:48:46 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|