aboutsummaryrefslogtreecommitdiff
path: root/devel/gconf2
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-10-07 18:04:11 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-10-07 18:04:11 +0000
commit2e2498235ea32f72574fbccf59f2114d82e77ee2 (patch)
treec5abf5d979fca88ef9dcdb54f195501c95d27a28 /devel/gconf2
parent63d66740c97713edaadd700ac04cba33573bc023 (diff)
downloadports-2e2498235ea32f72574fbccf59f2114d82e77ee2.tar.gz
ports-2e2498235ea32f72574fbccf59f2114d82e77ee2.zip
Notes
Diffstat (limited to 'devel/gconf2')
-rw-r--r--devel/gconf2/Makefile15
-rw-r--r--devel/gconf2/pkg-plist42
2 files changed, 26 insertions, 31 deletions
diff --git a/devel/gconf2/Makefile b/devel/gconf2/Makefile
index 0bfc391899ed..ff4180e74280 100644
--- a/devel/gconf2/Makefile
+++ b/devel/gconf2/Makefile
@@ -35,18 +35,13 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
-OPTIONS_DEFINE= LDAP
+DOCSDIR= ${PREFIX}/share/doc/gconf
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= LDAP DOCS
+OPTIONS_SUB= yes
-.if ${PORT_OPTIONS:MLDAP}
-USE_OPENLDAP= yes
-CONFIGURE_ARGS+=--with-openldap
-PLIST_SUB+= LDAP=""
-.else
-CONFIGURE_ARGS+=--without-openldap
-PLIST_SUB+= LDAP="@comment "
-.endif
+LDAP_USE= OPENLDAP=yes
+LDAP_CONFIGURE_WITH= openldap
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/gconf/gconf.xml.system
diff --git a/devel/gconf2/pkg-plist b/devel/gconf2/pkg-plist
index 0760c4e47ec5..0a84c9d002ee 100644
--- a/devel/gconf2/pkg-plist
+++ b/devel/gconf2/pkg-plist
@@ -38,27 +38,27 @@ man/man1/gsettings-schema-convert.1.gz
share/aclocal/gconf-2.m4
share/dbus-1/system-services/org.gnome.GConf.Defaults.service
share/dbus-1/services/org.gnome.GConf.service
-share/doc/gconf/ch01.html
-share/doc/gconf/gconf-gconf-backend.html
-share/doc/gconf/gconf-gconf-changeset.html
-share/doc/gconf/gconf-gconf-client.html
-share/doc/gconf/gconf-gconf-engine.html
-share/doc/gconf/gconf-gconf-error.html
-share/doc/gconf/gconf-gconf-internals.html
-share/doc/gconf/gconf-gconf-listeners.html
-share/doc/gconf/gconf-gconf-locale.html
-share/doc/gconf/gconf-gconf-schema.html
-share/doc/gconf/gconf-gconf-sources.html
-share/doc/gconf/gconf-gconf-value.html
-share/doc/gconf/gconf-gconf.html
-share/doc/gconf/gconf.devhelp2
-share/doc/gconf/home.png
-share/doc/gconf/index.html
-share/doc/gconf/index.sgml
-share/doc/gconf/left.png
-share/doc/gconf/right.png
-share/doc/gconf/style.css
-share/doc/gconf/up.png
+%%PORTDOCS%%%%DOCSDIR%%/ch01.html
+%%PORTDOCS%%%%DOCSDIR%%/gconf-gconf-backend.html
+%%PORTDOCS%%%%DOCSDIR%%/gconf-gconf-changeset.html
+%%PORTDOCS%%%%DOCSDIR%%/gconf-gconf-client.html
+%%PORTDOCS%%%%DOCSDIR%%/gconf-gconf-engine.html
+%%PORTDOCS%%%%DOCSDIR%%/gconf-gconf-error.html
+%%PORTDOCS%%%%DOCSDIR%%/gconf-gconf-internals.html
+%%PORTDOCS%%%%DOCSDIR%%/gconf-gconf-listeners.html
+%%PORTDOCS%%%%DOCSDIR%%/gconf-gconf-locale.html
+%%PORTDOCS%%%%DOCSDIR%%/gconf-gconf-schema.html
+%%PORTDOCS%%%%DOCSDIR%%/gconf-gconf-sources.html
+%%PORTDOCS%%%%DOCSDIR%%/gconf-gconf-value.html
+%%PORTDOCS%%%%DOCSDIR%%/gconf-gconf.html
+%%PORTDOCS%%%%DOCSDIR%%/gconf.devhelp2
+%%PORTDOCS%%%%DOCSDIR%%/home.png
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/index.sgml
+%%PORTDOCS%%%%DOCSDIR%%/left.png
+%%PORTDOCS%%%%DOCSDIR%%/right.png
+%%PORTDOCS%%%%DOCSDIR%%/style.css
+%%PORTDOCS%%%%DOCSDIR%%/up.png
share/gir-1.0/GConf-2.0.gir
share/locale/am/LC_MESSAGES/GConf2.mo
share/locale/ar/LC_MESSAGES/GConf2.mo