aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mp-player/Makefile
blob: 870387b758ed83055d85e75fcd83cbd0ac29dc6f (plain) (blame)
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
31
32
33
34
# 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=   CRITICAL

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    A curses based module tracker using libmikmod

LIB_DEPENDS=    mikmod.2:${PORTSDIR}/audio/libmikmod

MAKE_JOBS_SAFE= yes

CFLAGS+=    -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib -lmikmod ${PTHREAD_LIBS} -lncurses -lpanel
DEFINES=    -D_REENTRANT

LICENSE=    GPLv2
PLIST_FILES=    bin/mp-player

do-build:
    ${CC} ${CFLAGS} ${LDFLAGS} ${DEFINES} ${WRKSRC}/mp.c \
        -o ${WRKSRC}/${PORTNAME}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin

.include <bsd.port.mk>