freebsd-ports/audio/mp-player/Makefile
John Marino 112f62e6b9 audio category: Remove $PTHREAD_LIBS
xmcd didn't pass check-plist (pre-existing), fixed.

approved by:	PTHREAD blanket
2015-03-25 21:37:39 +00:00

30 lines
663 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= mp-player
PORTVERSION= 0.6
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= LOCAL/ehaupt
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Curses based module tracker using libmikmod
LICENSE= GPLv2
LIB_DEPENDS= libmikmod.so:${PORTSDIR}/audio/libmikmod
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lmikmod -lpthread -lncurses -lpanel
DEFINES= -D_REENTRANT
PLIST_FILES= bin/mp-player
do-build:
${CC} ${CFLAGS} ${LDFLAGS} ${DEFINES} ${WRKSRC}/mp.c \
-o ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>