aboutsummaryrefslogtreecommitdiffstats
path: root/audio/festalon/Makefile
blob: 1420c9f451c7acb263aee67eccf3496e8c53a35b (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$

PORTNAME=   festalon
PORTVERSION=    0.5.5
PORTREVISION=   7
CATEGORIES= audio
MASTER_SITES=   http://projects.raphnet.net/festalon/ \
        CRITICAL
PKGNAMEPREFIX?=

MAINTAINER= ehaupt@FreeBSD.org
COMMENT?=   A command line player for .nsf and .hes audio files

LICENSE=    GPLv2

LIB_DEPENDS+=   samplerate:${PORTSDIR}/audio/libsamplerate

USE_AUTOTOOLS=  libtool
USE_BZIP2=  yes
USE_PKGCONFIG=  build

MAKE_JOBS_SAFE= yes

WRKSRC=     ${WRKDIR}/${PORTNAME}

ONLY_FOR_ARCHS= i386 amd64

OPTIONS_DEFINE= DOCS

.include <bsd.port.options.mk>

.if ${PKGNAMEPREFIX} == ""

USE_SDL=    yes

PLIST_FILES=    bin/festalon
PORTDOCS=   README

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

.if ${PORT_OPTIONS:MDOCS}
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.endif

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>