diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-10-08 02:04:11 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-10-08 02:04:11 +0800 |
commit | e83621f2952103c7b886fc10cbf701b79f6c8659 (patch) | |
tree | c5abf5d979fca88ef9dcdb54f195501c95d27a28 | |
parent | db6c44c2bc989872d74e738c22b6685af9cb21ad (diff) | |
download | freebsd-ports-gnome-e83621f2952103c7b886fc10cbf701b79f6c8659.tar.gz freebsd-ports-gnome-e83621f2952103c7b886fc10cbf701b79f6c8659.tar.zst freebsd-ports-gnome-e83621f2952103c7b886fc10cbf701b79f6c8659.zip |
- Optionize DOCS
- Switch to options helpers
Approved by: kwm
-rw-r--r-- | devel/gconf2/Makefile | 15 | ||||
-rw-r--r-- | devel/gconf2/pkg-plist | 42 |
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 |