blob: 68458ae758419404deaca6c61682a2ce4ddc49b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Created by: Emanuel Haupt <ehaupt@critical.ch>
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>
|