2009-06-07 03:49:44 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.2 2009/06/07 07:49:44 ajacoutot Exp $
|
2009-06-06 22:55:19 -04:00
|
|
|
|
|
|
|
COMMENT= Framework for defining and tracking users
|
|
|
|
|
|
|
|
DISTNAME= ConsoleKit-0.3.0
|
2009-06-07 03:49:44 -04:00
|
|
|
PKGNAME= ${DISTNAME:L}p0
|
2009-06-06 22:55:19 -04:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
SHARED_LIBS+= ck-connector 0.0
|
|
|
|
|
2009-06-07 03:49:44 -04:00
|
|
|
HOMEPAGE= http://freedesktop.org/wiki/Software/ConsoleKit
|
2009-06-06 22:55:19 -04:00
|
|
|
|
|
|
|
# GPLv2+
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
|
|
|
|
WANTLIB= c
|
|
|
|
|
|
|
|
MASTER_SITES= http://people.freedesktop.org/~mccann/dist/
|
|
|
|
|
2009-06-07 03:49:44 -04:00
|
|
|
MODULES= devel/gettext
|
|
|
|
|
2009-06-06 22:55:19 -04:00
|
|
|
AUTOCONF_VERSION= 2.61
|
|
|
|
CONFIGURE_STYLE= autoconf
|
2009-06-07 03:49:44 -04:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--with-pid-file=/var/run/consolekit.pid \
|
|
|
|
--with-authfw=bsdauth \
|
2009-06-06 22:55:19 -04:00
|
|
|
--with-os-type=openbsd
|
|
|
|
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include"
|
|
|
|
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
2009-06-07 03:49:44 -04:00
|
|
|
FAKE_FLAGS= DBUS_SYS_DIR=${TRUEPREFIX}/share/examples/consolekit/dbus-1 \
|
|
|
|
sysconfdir=${TRUEPREFIX}/share/examples/consolekit
|
2009-06-06 22:55:19 -04:00
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
@cd ${WRKSRC}/tools && \
|
2009-06-07 03:49:44 -04:00
|
|
|
cp -R freebsd openbsd && \
|
|
|
|
perl -pi -e "s,freebsd,openbsd,g" openbsd/Makefile.in
|
2009-06-06 22:55:19 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|