mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
7f4572eae4
With hat: portmgr Sponsored by: Absolight
32 lines
666 B
Makefile
32 lines
666 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:audio/libmikmod
|
|
|
|
USES= ncurses
|
|
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>
|