Fix building by fixing conversion to optionsng.
It now behaves the same as it used to do before conversion.

Reported by:	pointyhat
Approved by:	portmgr (implicit)
With hat:	portmgr
Fix broken sed that made extra docs install even in the NOPORTDOCS case.

Noted by:	bapt
Approved by:	portmgr (bapt)
Fix build with nls unset. the extra locale directories are created anyway.
While here:
- Convert WITHOUT_NLS -> NLS option
- Trim headers
- Convert gnomehack -> USES=pathfix

Approved by:	x11 (zeising)
Approved by:	portmgr (implicit)
The PostgreSQL Global Development Group has released a security
update to all current versions of the PostgreSQL database system,
including versions 9.2.4, 9.1.9, 9.0.13, and 8.4.17. This update
fixes a high-exposure security vulnerability in versions 9.0 and
later. All users of the affected versions are strongly urged to apply
the update *immediately*.

A major security issue (for versions 9.x only) fixed in this release,
[CVE-2013-1899](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1899),
makes it possible for a connection request containing a database name
that begins with "-" to be crafted that can damage or destroy files
within a server's data directory. Anyone with access to the port the
PostgreSQL server listens on can initiate this request. This issue was
discovered by Mitsumasa Kondo and Kyotaro Horiguchi of NTT Open Source
Software Center.

Two lesser security fixes are also included in this release:
[CVE-2013-1900](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1900),
wherein random numbers generated by contrib/pgcrypto functions may be
easy for another database user to guess (all versions), and
[CVE-2013-1901](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1901),
which mistakenly allows an unprivileged user to run commands that
could interfere with in-progress backups (for versions 9.x only).

Approved by:	portmgr (bdrewery)
URL:		http://www.postgresql.org/about/news/1456/
Security:	http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1899
Security:	http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1900
Security:	http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1901
Fix conversion to new options framework

Reported by:	John Marino
Approved by:	portmgr (implicit)
With hat:	portmgr
Fix typo in options checking

Reported by:	bdrewery
Approved by:	portmgr (implicit)
With hat:	portmgr
Fix conversion to new option framework

Reported by:	bdrewery
Approved by:	portmgr (implicit)
With hat:	portmgr
Fix conversion to new option framework

Reported by:	bdrewery
Approved by:	portmgr (implicit)
With hat:	portmgr
Fix plist

Approved by:	gnome (kwm)
Approved by:	portmgr (implicit)
- Fix plist: don't remove kdehier4 directories
  while here:
- Trim Makefile header
- Drop indefinite article from COMMENT
- Switch to out-of-source build
- Explicitly depend on required Qt4 components
- Rephrase description

Approved by:	portmgr (miwi)
- Fix build with recent KDE by updating to 2.2.1
  while here:
- Trim Makefile header
- Switch to out-of-source build
- Explicitly depend on required Qt4 component

Approved by:	portmgr (miwi)
Execute gdk-pixbuf-query-loaders in post-deinstall with pkgng

Approved by:	portmgr (implicit)
Mark www/opera as FORBIDDEN as it contains a security issue

See http://www.opera.com/docs/changelogs/unified/1215/

Reported by:	dinoex (maintainer)
Approved by:	portmgr (implicit)
With hat:	secteam-ports
Regripper distfile has been rerolled.
Diff available at:
http://people.freebsd.org/~antoine/ports/1/rip.pl.diff

Reported by:	Francis Provencher
Approved by:	portmgr (bapt), eadler (mentor)
Fix conversion to optionsng breaking multibyte support

Reported by:	Sergey V. Dyatko via irc
Tested by:	Sergey V. Dyatko via irc
Approved by:	portmgr (implicit)
Fix leftovers by using USES=charsetfix
Remove now useless pre-configure target
While here convert NOPORTDOCS to DOCS option

Reported by:	pointyhat via miwi
Approved by:	portmgr (implicit)
catalog.ports needs to be regenerated in post-deinstall.
glib-compiled-schema needs to be executed in post-deinstall

Approved by:	portmgr (implicit)
Fix pkg-list for postgresql84-server

Approved by:	portmgr (miwi)
- Add http mirror in case FTP is not available

Approved by:	gnome (kwm)
Approved by:	portmgr (implicit)
- Add missing quote

Submitted by:	John Marino <draco@marino.st>
Approved by:	portmgr (implicit)