aboutsummaryrefslogtreecommitdiffstats
path: root/audio/festalon/Makefile
blob: 74461b0b8433b3bd47f3ba001318e6aa219cd4c2 (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
# New ports collection makefile for:    festalon
# Date created:             13 Jul 2005
# Whom:                 Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#

PORTNAME=   festalon
PORTVERSION=    0.5.5
CATEGORIES= audio
MASTER_SITES=   http://projects.raphnet.net/festalon/ \
        http://critical.ch/distfiles/
PKGNAMEPREFIX?=

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

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

USE_AUTOTOOLS=  libtool:15
USE_BZIP2=  yes

WRKSRC=     ${WRKDIR}/${PORTNAME}

ONLY_FOR_ARCHS= i386 ppc

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=     "Does not compile on FreeBSD 4.x"
.endif

.if ${PKGNAMEPREFIX} == ""

USE_SDL=    yes

PLIST_FILES=    bin/festalon
PORTDOCS=   README

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

.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.endif

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

.include <bsd.port.post.mk>