summaryrefslogtreecommitdiff
path: root/deskutils/superswitcher/Makefile
blob: 3dc02e0fa021e1bf2a68ec5bcc69b2037391810b (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
38
39
40
# New ports collection makefile for:	superswitcher
# Date Created:				02 Jan 2006
# Whom:					Remington Lang <MrL0Lz@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	superswitcher
PORTVERSION=	0.6
PORTREVISION=	1
CATEGORIES=	deskutils gnome
MASTER_SITES=	GOOGLE_CODE

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Alt-Tab replacement

LICENSE=	GPLv2

LIB_DEPENDS=	dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib

USE_GNOME=	gconf2 libwnck
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
MAKE_JOBS_SAFE=	yes

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

PLIST_FILES=	bin/superswitcher \
		share/dbus-1/services/superswitcher.SuperSwitcher.service

post-patch:
	@${REINPLACE_CMD} -e \
		's/x11//g' ${WRKSRC}/configure
	@${REINPLACE_CMD} -e \
		'/_DISABLE_DEPRECATED/d' ${WRKSRC}/src/Makefile.in
	@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
		${WRKSRC}/src/dbus-object.h ${WRKSRC}/src/forward_declarations.h

.include <bsd.port.mk>