From 66c4d8700e03698aec854c94389d9d2a5450c33d Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Sat, 4 Aug 2012 15:09:35 +0000 Subject: [PATCH] Document the BROWSER variable in README; this was source of confusion for pirofti@ during g2k12 :) --- devel/xdg-utils/Makefile | 3 ++- devel/xdg-utils/pkg/PLIST | 3 ++- devel/xdg-utils/pkg/README | 13 +++++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 devel/xdg-utils/pkg/README diff --git a/devel/xdg-utils/Makefile b/devel/xdg-utils/Makefile index 2562f0fd568..f767d3ff9c7 100644 --- a/devel/xdg-utils/Makefile +++ b/devel/xdg-utils/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.18 2012/04/09 09:39:15 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.19 2012/08/04 15:09:35 ajacoutot Exp $ # Does _not_ depend on desktop-file-utils, hicolor-icon-theme, # gtk-update-icon-cache, shared-mime-info... on purpose as it should @@ -8,6 +8,7 @@ COMMENT= utilities to assist desktop integration tasks DISTNAME= xdg-utils-1.1.0-rc1 PKGNAME= xdg-utils-1.1.0rc1 +REVISION= 0 CATEGORIES= devel diff --git a/devel/xdg-utils/pkg/PLIST b/devel/xdg-utils/pkg/PLIST index 4ef3237207f..121d66d5768 100644 --- a/devel/xdg-utils/pkg/PLIST +++ b/devel/xdg-utils/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.5 2012/04/09 09:39:15 ajacoutot Exp $ +@comment $OpenBSD: PLIST,v 1.6 2012/08/04 15:09:35 ajacoutot Exp $ @conflict thinkingrock-<=2.0.1p1 bin/email bin/open @@ -18,3 +18,4 @@ bin/xdg-settings @man man/man1/xdg-open.1 @man man/man1/xdg-screensaver.1 @man man/man1/xdg-settings.1 +share/doc/pkg-readmes/${FULLPKGNAME} diff --git a/devel/xdg-utils/pkg/README b/devel/xdg-utils/pkg/README new file mode 100644 index 00000000000..3175f1b43cd --- /dev/null +++ b/devel/xdg-utils/pkg/README @@ -0,0 +1,13 @@ +$OpenBSD: README,v 1.5 2012/08/04 15:09:35 ajacoutot Exp $ + ++----------------------------------------------------------------------- +| Running ${FULLPKGNAME} on OpenBSD ++----------------------------------------------------------------------- + +By default, xdg-open(1) opens URLs using a predefined order of known +browsers executables. To change this behavior and set up a default +WWW browser, the "BROWSER" variable needs be set to the corresponding +executable. + +e.g. ~/.profile +export BROWSER="firefox"