summaryrefslogtreecommitdiffstats
path: root/audio/traymp/Makefile
blob: 2c1929c9650a7004b0879498ee3bf02e9212d8d1 (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
# New ports collection makefile for:	traymp
# Date created:		Oct 09 2003
# Whom:			Mark Reidel <ports@mark.reidel.info>
#
# $FreeBSD$
#

PORTNAME=	traymp
PORTVERSION=	0.12
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	musicpd

MAINTAINER=	ports@mark.reidel.info
COMMENT=	Tray-aware GTK2 client for musicpd

GNU_CONFIGURE=	yes
USE_GNOME=	glib20 gtk20 libglade2
CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib" \

CFLAGS+=	-I${PREFIX}/include

.include <bsd.port.pre.mk>

.ifdef(WITH_XOSD)
CONFIGURE_ARGS+=--enable-xosd
LIB_DEPENDS+=xosd.4:${PORTSDIR}/misc/xosd
.endif

pre-everything::
.ifndef(WITH_XOSD)
	@${ECHO} "You can build ${PKGNAME} with the following option:"
	@${ECHO}
	@${ECHO} "WITH_XOSD             Make use of on-screen-display"
	@${ECHO}
	@sleep 3
.endif

post-install:
	@${CAT} ${PKGMESSAGE}

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