aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gqradio/Makefile
blob: 4c471c177eeef1862ff949e929033a3edab2e805 (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
# New ports collection makefile for: gqradio
# Date created:     13 Apr 2003
# Whom:         Stefan Jahn <stefan.jahn@nemesis-sektor.de>
#
# $FreeBSD$
#

PORTNAME=   gqradio
PORTVERSION=    1.9.2
PORTREVISION=   2
CATEGORIES= audio
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=gqmpeg

MAINTAINER= stefan.jahn@nemesis-sektor.de
COMMENT=    GTK2 based FM tuner

USE_XLIB=   yes
GNU_CONFIGURE=  yes
USE_GNOME=  gtk20 gnomehack gnomeprefix

ONLY_FOR_ARCHS= alpha i386 ia64

CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib" \

post-patch:
    @${REINPLACE_CMD} -e \
        's|share/gqradio|share/gnome/gqradio|; \
         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>