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

PORTNAME=	superswitcher
PORTVERSION=	0.3
PORTREVISION=	1
CATEGORIES=	deskutils gnome
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	browserbookapp
EXTRACT_SUFX=	.tgz

MAINTAINER=	MrL0Lz@gmail.com
COMMENT=	Alt-Tab replacement

BUILD_DEPENDS=	gnome-autogen.sh:${PORTSDIR}/devel/gnome-common
RUN_DEPENDS=	gnome-autogen.sh:${PORTSDIR}/devel/gnome-common

USE_GMAKE=	yes
USE_GNOME=	gtk20 libwnck pango
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

post-extract:
	@${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${RM} -f

post-patch:
	@${REINPLACE_CMD} -e 's/x11//g' ${WRKSRC}/configure
	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
		's|-D.*_DISABLE_DEPRECATED||g'

.include <bsd.port.mk>