e693eb0722
An curses-based MP3 player
36 lines
775 B
Makefile
36 lines
775 B
Makefile
# 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
|
|
|
|
LIB_DEPENDS= SDL-1.1:${PORTSDIR}/devel/sdl12 \
|
|
smpeg:${PORTSDIR}/graphics/smpeg \
|
|
gnugetopt:${PORTSDIR}/devel/libgnugetopt
|
|
|
|
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= SDL_CONFIG=${SDL_CONFIG} \
|
|
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
|
|
MAN1= ksmp3play.1
|
|
|
|
post-patch:
|
|
@${PERL} -pi -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
post-install:
|
|
@${MKDIR} ${DOCSDIR}
|
|
${CP} -R ${WRKSRC}/doc/ksmp3play* ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|