freebsd-ports/audio/mp-player/Makefile
Renato Botelho 8ef903640a Add mp-player 0.6, a curses based module tracker using libmikmod.
PR:		ports/85304
Submitted by:	Emanuel Haupt <ehaupt@critical.ch>
2005-08-29 17:31:14 +00:00

39 lines
831 B
Makefile

# New ports collection makefile for: mp-player
# Date created: 26 Aug 2005
# Whom: Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#
PORTNAME= mp-player
PORTVERSION= 0.6
CATEGORIES= audio
MASTER_SITES= http://mp.waw.cx/ \
http://critical.ch/distfiles/
DISTNAME= mp-current
EXTRACT_SUFX= .tgz
MAINTAINER= ehaupt@critical.ch
COMMENT= A curses based module tracker using libmikmod
LIB_DEPENDS= mikmod.2:${PORTSDIR}/audio/libmikmod
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lmikmod -pthread -lncurses -lpanel
DEFINES= -D_REENTRANT
WRKSRC= ${WRKDIR}/mp-beta-06
PLIST_FILES= bin/mp-player
post-patch:
@${RM} ${WRKSRC}/mp
do-build:
${CC} ${CFLAGS} ${LDFLAGS} ${DEFINES} ${WRKSRC}/mp.c -o ${WRKSRC}/mp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mp ${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>