summaryrefslogtreecommitdiff
path: root/audio/streamtuner/Makefile
blob: ccc371e518fcabab2d2dcb29cadf311426a67ebd (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
# New ports collection makefile for:	streamtuner
# Date created:			02 Apr 2002
# Whom:				Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD$
#

PORTNAME=		streamtuner
PORTVERSION=		0.11.0
CATEGORIES=		audio www
MASTER_SITES=		${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=		jylefort@brutele.be
COMMENT=		A GTK+ stream directory browser

LIB_DEPENDS=		curl:${PORTSDIR}/ftp/curl

USE_X_PREFIX=		yes
USE_GNOME=		gtk20 gnomehack
USE_LIBTOOL_VER=	15
CONFIGURE_ENV=		CPPFLAGS="-I${LOCALBASE}/include" \
			LDFLAGS="-L${LOCALBASE}/lib"

MAN1=			streamtuner.1 streamtuner-theme-convert.1

post-patch:
	@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
		's|[(]datadir[)]/pixmaps|(prefix)/share/gnome/pixmaps|g ; \
		 s|[(]datadir[)]/applications|(prefix)/share/gnome/applications|g'

.include <bsd.port.mk>