summaryrefslogtreecommitdiff
path: root/sysutils/gksu/Makefile
blob: 2e0cb5dcb8aa2f3efb26e0f70739ffaece3c5b5d (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
# Created by: Jesse van den Kieboom <troplosti@orcaweb.cjb.net>
# $FreeBSD$

PORTNAME=	gksu
PORTVERSION=	2.0.2
PORTREVISION=	2
CATEGORIES=	sysutils
MASTER_SITES=	http://people.debian.org/~kov/gksu/

MAINTAINER=	bsam@FreeBSD.org
COMMENT=	Graphical frontend to su

LIB_DEPENDS=	gksu2:${PORTSDIR}/sysutils/libgksu \
		nautilus-extension:${PORTSDIR}/x11-fm/nautilus \
		gnome-keyring:${PORTSDIR}/security/gnome-keyring

USES=		desktop-file-utils pathfix pkgconfig
USE_GNOME=	gconf2 gnomeprefix gtk20 intlhack
GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_LDCONFIG=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

MAN1=		gksu.1
MLINKS=		gksu.1 gksudo.1

post-patch:
	@${REINPLACE_CMD} -e 's|glib/gkeyfile.h|glib.h|g' \
		${WRKSRC}/nautilus-gksu/libnautilus-gksu.c

.include <bsd.port.mk>