aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/quark/Makefile
blob: 36072baee7f7ae7e23afa030528047d3b8811156 (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
# New ports collection makefile for:    multimedia/quark
# Date created:     21 Jul 2003
# Whom:         Juan Salaverria <rael@vectorstar.net>
#
# $FreeBSD$

PORTNAME=   quark
PORTVERSION=    3.21
PORTREVISION=   9
CATEGORIES= multimedia gnome
MASTER_SITES=   http://quark.sunsite.dk/ \
        http://demian.dyndns.org/src/

MAINTAINER= ports@FreeBSD.org
COMMENT=    An audio player, for geeks, by geeks

LIB_DEPENDS=    xine.14:${PORTSDIR}/multimedia/libxine

USE_X_PREFIX=   yes
USE_GNOME=  gnomehack gnomeprefix gnometarget gnomevfs2
USE_REINPLACE=  yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

PORTDOCS=   AUTHORS COPYING INSTALL README
GCONF_SCHEMAS=  quark.schemas strange-quark.schemas

post-patch:
    @${REINPLACE_CMD} -e \
        's|CFLAGS="-g |CFLAGS="$$CFLAGS |g' ${WRKSRC}/configure

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>