Add a gconf2 MODULE to ease dealing with schemas files.
port-modules(5) will be tweaked accordingly when all ports are converted to using this new module. "i like the idea" wcmaier@ "i like it" landry@ some input and ok jasper@
This commit is contained in:
parent
7977c66927
commit
06b457df22
21
devel/gconf2/gconf2.port.mk
Normal file
21
devel/gconf2/gconf2.port.mk
Normal file
@ -0,0 +1,21 @@
|
||||
# $OpenBSD: gconf2.port.mk,v 1.1 2009/06/07 05:27:58 ajacoutot Exp $
|
||||
|
||||
MODGCONF2_LIB_DEPENDS= gconf-2::devel/gconf2
|
||||
MODGCONF2_BUILD_DEPENDS=:gconf2-*:devel/gconf2
|
||||
MODGCONF2_RUN_DEPENDS= :gconf2-*:devel/gconf2
|
||||
|
||||
MODGCONF2_LIBDEP?= Yes
|
||||
|
||||
.if ${MODGCONF2_LIBDEP:L} == "yes"
|
||||
LIB_DEPENDS+= ${MODGCONF2_LIB_DEPENDS}
|
||||
.else
|
||||
BUILD_DEPENDS+= ${MODGCONF2_BUILD_DEPENDS}
|
||||
RUN_DEPENDS+= ${MODGCONF2_RUN_DEPENDS}
|
||||
.endif
|
||||
|
||||
.if defined(MODGCONF2_SCHEMAS_DIR)
|
||||
SCHEMAS_INSTDIR=share/schemas/${MODGCONF2_SCHEMAS_DIR:L}
|
||||
SUBST_VARS+= SCHEMAS_INSTDIR
|
||||
CONFIGURE_ARGS+=--disable-schemas-install \
|
||||
--with-gconf-schema-file-dir=${LOCALBASE}/${SCHEMAS_INSTDIR}
|
||||
.endif
|
Loading…
x
Reference in New Issue
Block a user