2002-05-13 14:50:36 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2002/05/13 18:50:39 espie Exp $
|
2001-09-13 16:52:08 -04:00
|
|
|
|
|
|
|
COMMENT= "configuration database system written for GNOME"
|
2001-11-13 09:04:41 -05:00
|
|
|
V= 1.0.7
|
2001-09-13 16:52:08 -04:00
|
|
|
DISTNAME= GConf-${V}
|
2001-11-18 21:50:34 -05:00
|
|
|
PKGNAME= ${DISTNAME:L}
|
2001-09-13 16:52:08 -04:00
|
|
|
CATEGORIES= devel
|
2001-11-13 09:04:41 -05:00
|
|
|
NEED_VERSION= 1.490
|
2001-09-13 16:52:08 -04:00
|
|
|
HOMEPAGE= http://www.gnome.org
|
|
|
|
MAINTAINER= Nils Nordman <nino@nforced.com>
|
|
|
|
|
2002-05-13 14:50:36 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/GConf/}
|
2001-11-13 09:04:41 -05:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2001-10-07 16:55:10 -04:00
|
|
|
|
2001-09-13 17:18:43 -04:00
|
|
|
LIB_DEPENDS= oaf.::x11/gnome/oaf \
|
2002-03-25 12:18:37 -05:00
|
|
|
xml.9::textproc/libxml1 \
|
2001-09-13 16:52:08 -04:00
|
|
|
gnome.36::x11/gnome/libs
|
|
|
|
|
|
|
|
FLAVORS= guile db3
|
|
|
|
FLAVOR?=
|
|
|
|
|
2001-11-13 09:04:41 -05:00
|
|
|
# GPL
|
2001-09-13 16:52:08 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2001-11-13 09:04:41 -05:00
|
|
|
SEPARATE_BUILD= concurrent
|
2001-09-13 16:52:08 -04:00
|
|
|
USE_X11= Yes
|
2001-09-18 10:22:14 -04:00
|
|
|
CONFIGURE_STYLE= autoconf
|
2001-09-13 16:52:08 -04:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2002-03-25 12:18:37 -05:00
|
|
|
LDFLAGS="-L${WRKBUILD}/gconf/.libs -L${LOCALBASE}/lib" \
|
|
|
|
XML_CONFIG="${LOCALBASE}/bin/xml-config"
|
2001-09-13 16:52:08 -04:00
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mguile}
|
2001-11-14 20:22:02 -05:00
|
|
|
BUILD_DEPENDS+= :guile-*:lang/guile
|
|
|
|
RUN_DEPENDS+= :guile-*:lang/guile
|
2001-09-13 16:52:08 -04:00
|
|
|
.else
|
|
|
|
CONFIGURE_ENV+= GUILE_CONFIG=/usr/bin/false
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mdb3}
|
|
|
|
LIB_DEPENDS+= db::databases/db
|
2001-09-18 10:22:14 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-db3
|
2001-11-13 09:04:41 -05:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-db3
|
2001-09-13 16:52:08 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
2001-09-20 15:23:32 -04:00
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gconf; \
|
2001-11-13 09:04:41 -05:00
|
|
|
cp -Rp ${WRKINST}/${SYSCONFDIR}/* ${PREFIX}/share/examples/gconf;
|
2001-09-13 16:52:08 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
2001-11-13 09:04:41 -05:00
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mdb3}
|
|
|
|
.if !defined(NO_SHARED_LIBS)
|
|
|
|
SED_PLIST+=-e '/%%SHARED-db3%%/r${PKGDIR}/PFRAG.db3.shared' -e '//d'
|
|
|
|
.else
|
|
|
|
SED_PLIST+=-e '/%%SHARED-db3%%/d'
|
|
|
|
.endif
|
|
|
|
.endif
|