2001-09-14 10:41:29 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.3 2001/09/14 14:41:29 todd Exp $
|
2001-09-13 16:52:08 -04:00
|
|
|
|
|
|
|
COMMENT= "configuration database system written for GNOME"
|
|
|
|
V= 1.0.1
|
|
|
|
DISTNAME= GConf-${V}
|
|
|
|
CATEGORIES= devel
|
2001-09-14 10:41:29 -04:00
|
|
|
NEED_VERSION= 1.455
|
2001-09-13 16:52:08 -04:00
|
|
|
HOMEPAGE= http://www.gnome.org
|
|
|
|
MAINTAINER= Nils Nordman <nino@nforced.com>
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
|
|
MASTER_SITE_SUBDIR= stable/sources/GConf
|
|
|
|
|
2001-09-13 17:18:43 -04:00
|
|
|
LIB_DEPENDS= oaf.::x11/gnome/oaf \
|
2001-09-13 16:52:08 -04:00
|
|
|
gnome.36::x11/gnome/libs
|
|
|
|
|
|
|
|
FLAVORS= guile db3
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mguile}
|
|
|
|
BUILD_DEPENDS+= guile::lang/guile
|
|
|
|
RUN_DEPENDS+= guile::lang/guile
|
|
|
|
.else
|
|
|
|
CONFIGURE_ENV+= GUILE_CONFIG=/usr/bin/false
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mdb3}
|
|
|
|
LIB_DEPENDS+= db::databases/db
|
|
|
|
CONFIGURE_ENV+= BDB_LIBS="-ldb"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
install -d ${PREFIX}/share/gconf; \
|
|
|
|
cp -r ${PREFIX}/../../etc/* ${PREFIX}/share/gconf; \
|
|
|
|
mv ${PREFIX}/share/gconf/gconf/1/path.example ${PREFIX}/share/gconf/gconf/1/path
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|