aboutsummaryrefslogtreecommitdiffstats
path: root/audio/yammi/Makefile
blob: b3398d0b579356370a71ea523b5f624d26eacb21 (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
# Created by: Arjan van Leeuwen <avleeuwen@piwebs.com>
# $FreeBSD$

PORTNAME=   yammi
PORTVERSION=    1.2.3
PORTREVISION=   14
CATEGORIES= audio
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Qt-based music manager with fuzzy search feature

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

DEPRECATED= Depends on Qt3; unmaintained
EXPIRATION_DATE=    2013-07-01

OPTIONS_DEFINE= XMMS
XMMS_DESC=  XMMS backend support

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

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MXMMS}
CONFIGURE_ARGS+=--enable-xmms
BUILD_DEPENDS+= xmms-config:${PORTSDIR}/multimedia/xmms
LIB_DEPENDS+=   xmms:${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.mk>