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

PORTNAME=   superswitcher
PORTVERSION=    0.3
PORTREVISION=   5
CATEGORIES= deskutils gnome
MASTER_SITES=   SF/browserbookapp/${PORTNAME}/${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
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>