5978476c35
LIB_DEPENDS in audio With hat: portmgr
29 lines
649 B
Makefile
29 lines
649 B
Makefile
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mp-player
|
|
PORTVERSION= 0.6
|
|
CATEGORIES= audio
|
|
MASTER_SITES= CRITICAL
|
|
|
|
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 ${PTHREAD_LIBS} -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>
|