aboutsummaryrefslogtreecommitdiffstats
path: root/audio/herrie/Makefile
blob: f2f787a64e629107177c77d03edd596be04af539 (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
# New ports collection makefile for:    herrie
# Date created:             01 August 2006
# Whom:                 Ed Schouten <ed@fxq.nl>
#
# $FreeBSD$
#

PORTNAME=   herrie
PORTVERSION=    0.3
CATEGORIES= audio
MASTER_SITES=   http://www.il.fontys.nl/~ed/projects/herrie/distfiles/ \
        http://www.stack.nl/~ed/projects/herrie/distfiles/

MAINTAINER= ed@fxq.nl
COMMENT=    A small command line interface music player

LIB_DEPENDS=    curl:${PORTSDIR}/ftp/curl

USE_OPENSSL=    yes
USE_GNOME=  glib20
USE_GMAKE=  yes
MAKEFILE=   GNUmakefile
ALL_TARGET= herrie
WRKSRC=     ${WRKDIR}/${DISTNAME}/src

OPTIONS=    MAD "MAD MP3 support" on \
        VORBIS "Ogg Vorbis support" on \
        SNDFILE "libsndfile support" off

PLIST_FILES=    bin/herrie
MAN1=       herrie.1

.include <bsd.port.pre.mk>

.if !defined(WITHOUT_MAD)
LIB_DEPENDS+=   mad.2:${PORTSDIR}/audio/mad
.else
MAKE_ENV+=  NO_MP3=yes
.endif
.if !defined(WITHOUT_VORBIS)
LIB_DEPENDS+=   vorbis.3:${PORTSDIR}/audio/libvorbis
.else
MAKE_ENV+=  NO_VORBIS=yes
.endif
.if !defined(WITHOUT_SNDFILE)
LIB_DEPENDS+=   sndfile.1:${PORTSDIR}/audio/libsndfile
.else
MAKE_ENV+=  NO_SNDFILE=yes
.endif

.include <bsd.port.post.mk>