summaryrefslogtreecommitdiff
path: root/deskutils/superswitcher/Makefile
blob: 3326a7941abdd5dc4a6ae7511f9743d60497b815 (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
# Created by: Remington Lang <MrL0Lz@gmail.com>
# $FreeBSD$

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

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

LICENSE=	GPLv2

BROKEN=		Unfetchable (google code has gone away)
DEPRECATED=	Unfetchable for more than six months (google code has gone away)
EXPIRATION_DATE=	2017-04-30

LIB_DEPENDS=	libdbus-glib-1.so:devel/dbus-glib

USES=		gmake pkgconfig
USE_GNOME=	gconf2 intltool libwnck
GNU_CONFIGURE=	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

post-install:
	@${RMDIR} ${STAGEDIR}${PREFIX}/lib/locale

.include <bsd.port.mk>