aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gqradio/Makefile
blob: f76534e64c0808e5b330c6962ea4de072bc4797b (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
# Created by: Stefan Jahn <stefan.jahn@nemesis-sektor.de>
# $FreeBSD$

PORTNAME=   gqradio
PORTVERSION=    1.9.2
PORTREVISION=   10
CATEGORIES= audio
MASTER_SITES=   SF/gqmpeg/${PORTNAME}/${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    GTK2 based FM tuner

GNU_CONFIGURE=  yes
USE_GNOME=  gtk20 gnomehack gnomeprefix
NO_STAGE=   yes

ONLY_FOR_ARCHS= alpha i386 ia64

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

post-patch:
    @${REINPLACE_CMD} -e 's|\(doc/gqradio\)-\$$VERSION|\1|' \
        ${WRKSRC}/configure
    @${REINPLACE_CMD} -e \
        's|^\(readmedir = \).*|\1$$(prefix)/share/doc/gqradio|; \
         s|COPYING||' \
        ${WRKSRC}/Makefile.in

.include <bsd.port.mk>