aboutsummaryrefslogtreecommitdiffstats
path: root/audio/yammi/Makefile
blob: e5b24ded6cbe477eb90a33750732b1cbb08961e1 (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:    yammi
# Date created:             27 September 2003
# Whom:                 Arjan van Leeuwen <avleeuwen@piwebs.com>
#
# $FreeBSD$
#

PORTNAME=   yammi
PORTVERSION=    1.2.3
PORTREVISION=   3
CATEGORIES= audio
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A QT-based music manager with fuzzy search

LIB_DEPENDS=    vorbis.4:${PORTSDIR}/audio/libvorbis \
        tag.5:${PORTSDIR}/audio/taglib

OPTIONS=    XMMS "XMMS backend support" off

USE_KDELIBS_VER=    3
USE_GMAKE=  yes
USE_AUTOTOOLS=  autoconf:259:env automake:19:env libtool:15:env
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-gstreamer

.include <bsd.port.pre.mk>

.if defined(WITH_XMMS)
CONFIGURE_ARGS+=--enable-xmms
BUILD_DEPENDS+= xmms-config:${PORTSDIR}/multimedia/xmms
LIB_DEPENDS+=   xmms.4:${PORTSDIR}/multimedia/xmms
.else
CONFIGURE_ARGS+=--disable-xmms
.endif

post-patch:
    @cd ${WRKSRC}/admin && ${REINPLACE_CMD} -e \
        's|="autoconf"|="${AUTOCONF:T}"|g ; \
         s|="autoheader"|="${AUTOHEADER:T}"|g ; \
         s|="autom4te"|="${AUTOM4TE:T}"|g ; \
         s|="automake"|="${AUTOMAKE:T}"|g ; \
         s|="aclocal"|="${ACLOCAL:T}"|g' detect-autoconf.sh

pre-configure:
    @cd ${WRKSRC}/admin && ${RM} -f ltmain.sh && ${CP} -f ${LTMAIN} .
    @cd ${WRKSRC} && ${GMAKE} -f admin/Makefile.common

.include <bsd.port.post.mk>