summaryrefslogtreecommitdiffstats
path: root/audio/gqradio/Makefile
blob: 1e1e937a70697535716e5a848d993af043a19eba (plain)
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
52
53
54
# New ports collection makefile for: gqradio
# Date created:		13 Apr 2003
# Whom:			Stefan Jahn <stefan.jahn@nemesis-sektor.de>
#
# $FreeBSD$
#

PORTNAME=	gqradio
PORTVERSION=	0.99.0
PORTREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=gqmpeg

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

USE_X_PREFIX=	yes
GNU_CONFIGURE=	yes
USE_GMAKE=	yes
WANT_GNOME=	yes
USE_GNOME=	gtk12 gdkpixbuf
USE_REINPLACE=	yes
CONFIGURE_ENV=	LIBS=-L${LOCALBASE}/lib \
		CPPFLAGS=-I${LOCALBASE}/include

.if !defined(WITHOUT_PNG)
LIB_DEPENDS+=	png.5:${PORTSDIR}/graphics/png
.endif

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
ONLY_FOR_ARCHS=	i386
.else
ONLY_FOR_ARCHS=	alpha i386 ia64
.endif

.if ${HAVE_GNOME:Mgnomelibs}!=""
USE_GNOME+=	gnomelibs
.endif

pre-everything::
	@${ECHO_CMD} ""
	@${ECHO_CMD} "You may use the following build options:"
	@${ECHO_CMD} ""
	@${ECHO_CMD} "      WITHOUT_PNG=yes  Don't depend on libpng. Skin editor will not"
	@${ECHO_CMD} "                       be able to save 'internal' skins"
	@${ECHO_CMD} ""

post-patch:
	@${REINPLACE_CMD} -e 's|_nl_domain_bindings|libintl_nl_domain_bindings|g' ${WRKSRC}/configure

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud