2f0486b647
The reason for this is that in the GNOME 3.16 update, USE_GNOME gtk20 and gtk30 don't pull intltool in anymore. PR: 201980 Exp-run by: antoine@
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# Created by: Jesse van den Kieboom <troplosti@orcaweb.cjb.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libgksu
|
|
PORTVERSION= 2.0.12
|
|
PORTREVISION= 2
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://people.debian.org/~kov/gksu/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Library providing su and sudo functionality
|
|
|
|
LIB_DEPENDS= libgtop-2.0.so:${PORTSDIR}/devel/libgtop \
|
|
libglade-2.0.so:${PORTSDIR}/devel/libglade2 \
|
|
libgnome-keyring.so:${PORTSDIR}/security/libgnome-keyring \
|
|
libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification
|
|
RUN_DEPENDS= xauth:${PORTSDIR}/x11/xauth \
|
|
sudo:${PORTSDIR}/security/sudo
|
|
|
|
USES= gettext gmake libtool pathfix pkgconfig
|
|
USE_GNOME= glib20 gconf2 intltool
|
|
USE_LDCONFIG= yes
|
|
USE_XORG= x11
|
|
CONFIGURE_ARGS= --enable-gtk-doc=no
|
|
GNU_CONFIGURE= yes
|
|
GCONF_SCHEMAS= gksu.schemas
|
|
INSTALL_TARGET= install-strip
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} '/AM_CFLAGS/s/-g -O2//' \
|
|
${WRKSRC}/gksu-properties/Makefile.in \
|
|
${WRKSRC}/libgksu/Makefile.in \
|
|
${WRKSRC}/libgksuui/Makefile.in
|
|
@${REINPLACE_CMD} '/^test_gksu_LDFLAGS =/s/glib-2.0/gtk+-2.0/' \
|
|
${WRKSRC}/libgksu/Makefile.in
|
|
@${REINPLACE_CMD} '/^libgksuui1_0_la_LIBADD =/s/$$/ -lX11/' \
|
|
${WRKSRC}/libgksuui/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|