1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/deskutils/superswitcher/Makefile
2013-12-11 18:28:10 +00:00

37 lines
837 B
Makefile

# Created by: 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= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
USES= gmake pkgconfig
USE_GNOME= gconf2 libwnck
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/superswitcher \
share/dbus-1/services/superswitcher.SuperSwitcher.service
NO_STAGE= yes
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>