7581cd781c
ok ajacoutot@
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.3 2008/02/02 20:42:04 jasper Exp $
|
|
|
|
COMMENT= library providing su and sudo functionality
|
|
|
|
DISTNAME= libgksu-2.0.5
|
|
PKGNAME= ${DISTNAME}p1
|
|
SHARED_LIBS= gksu2 0.0 # .0.1
|
|
CATEGORIES= sysutils
|
|
|
|
HOMEPAGE= http://www.nongnu.org/gksu/
|
|
|
|
# LGPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= ICE ORBit-2 SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp \
|
|
Xext Xfixes Xi Xinerama Xrandr Xrender atk-1.0 c cairo \
|
|
dbus-1 expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 \
|
|
glib-2.0 glitz gmodule-2.0 gobject-2.0 gthread-2.0 \
|
|
gtk-x11-2.0 kvm m pango-1.0 pangocairo-1.0 pangoft2-1.0 \
|
|
pcre png pthread util xml2 z
|
|
|
|
MASTER_SITES= http://people.debian.org/~kov/gksu/
|
|
|
|
MODULES= devel/gettext \
|
|
textproc/intltool
|
|
|
|
LIB_DEPENDS= gconf-2::devel/gconf2 \
|
|
gtop-2.0::devel/libgtop2 \
|
|
glade-2.0::devel/libglade2 \
|
|
startup-notification-1::devel/startup-notification \
|
|
gnome-keyring::x11/gnome/keyring
|
|
RUN_DEPENDS= ::devel/desktop-file-utils
|
|
|
|
USE_X11= Yes
|
|
USE_LIBTOOL= Yes
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= --with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/gksu2 \
|
|
--enable-gtk-doc="no"
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
post-extract:
|
|
@perl -pi -e 's,/bin/su,/usr/bin/su,g' ${WRKSRC}/po/*.po
|
|
|
|
.include <bsd.port.mk>
|