Bump 1.8 to 4.0.4, based on PR pkg/48297
(by  Niclas Rosenvik: nicro465 at student.liu.se,
also with PR pkg/45521 to 3.1 by kamelderouiche at yahoo.com)

Release Note since 4.0 from:
  http://freecode.com/projects/qtexmaker/releases/357375
--------------------
4.0.4     30 Aug 2013 16:55
      Support for the 0.24 poppler version has been
added, and a compilation problem on ARM architecture has been
fixed. Dragging and dropping image files in the editor is now
supported.

4.0.3     30 Jul 2013 12:46
      The Windows and Mac OS X Lion versions are now
compiled with Qt 5.1 and poppler 0.22. Find-and-replace
actions can now be applied to a selection only. A tool that
converts source files to Unicode has been added. Users can now
check if a new version is available via a new option in the
"Help" menu (less)

4.0.2     09 May 2013 11:33
      Mac OS X high DPI support has been added to the
PDF viewer, the symbols, and almost all of the icons. The
part/chapter/section tags are now bold in the editor. On
Linux, the session file is now stored in the standard ./cache
directory instead of the /tmp folder. New translations have
been added (less)

4.0.1     16 Mar 2013 13:47
      A potential crash when synctex sent a bad page
number has been fixed. The -Pdownload35 option has been added
to the default dvips command for MiKTeX users on Windows.

4.0     08 Mar 2013 22:07
      The code has been ported to Qt5 (but this
version can also be compiled with Qt4). From this version,
Texmaker will be principally developed under Qt5. A keyboard
shortcut has been added to toggle between the master and the
current document. A specific "quick build" command has been
padded for the .asy files: the asymptote figures can now be
compiled and displayed with the F1 shortcut.
Updated editors/texmaker to 4.0.4
add -lssp for solaris in print/cups for dependant programs
Fix shared library path on Darwin
Changes 1.12.13:

SECURITY FIXES

* CVS now uses version 1.2.3 of the ZLib compression libraries in order to
  avoid two recently announced security vulnerabilities in them.  Both may be
  used for denial of service attacks and one may reportedly allow execution of
  arbitrary code, though this is not confirmed.

NEW FEATURES

* Thanks to Conrad Pino <conrad@pino.com>, a hang in the Windows client, which
  had pretty much rendered the client useless, has been fixed.

* A minor problem preventing build of the Kerberos4 client has been fixed.

* The path to the config file may be set as an argument to the CVS server
  commands.

* Sections of directives specific to one or more repositories and not others
  may now be specified in the config file.

* %{sV} format strings are now available to the verifymsg trigger, similar to
  the %{stVv} available to loginfo.

* `cvs watch add' on an empty directory no longer clears watchers, and
  specifying a directory for `cvs watch add' now (correctly) sets default
  attributes.

* Missing CVSROOT/history files will now cause CVS to attempt to create one.
  To suppress history logging, set LogHistory equal to the empty string in
  CVSROOT/config.

* There are several new options available in CVSROOT/config.  These are
  TmpDir, HistoryLogPath, HistorySearchPath, MinCompressionLevel, &
  MaxCompressionLevel.  Please see the manual for more.

* CVS on Solaris 10 was refusing to parse command options.  This has been
  fixed.

* The Windows client now creates locks compatible with older versions of CVS by
  default.  This should only be relevant if your client is accessing a local
  repository concurrently with another, older client.  If you would like to
  disable compatibility mode (because it is slightly faster), edit the
  LOCK_COMPATIBILITY flag in windows-NT/config.h and recompile.

* Misc efficiency and portability improvements.

BUG FIXES

* Thanks to Serguei E. Leontiev <lse@CryptoPro.ru>, CVS with Kerberos 5 GSSAPI
  should automatically link on FreeBSD 5.x.

* Thanks to Rahul Bhargava <rahul@wandisco.com>, heavily loaded systems
  suffering from a disk crash or power failure will not lose data they claimed
  to have committed.

* CVS server now handles conflict markers in Entry requests as documented.

* CVS now remembers that binary file merge conflicts occurred until the
  timestamp of the updated binary file changes.

* CVS client now saves some bandwidth by not sending the contents of files
  with conflicts to the server when it isn't needed.

* CVS now does correct locking during import.

* A problem where the server could block indefinitely waiting for an EOF from
  the client when compression was enabled has been fixed.

* `cvs diff' no longer splits its arguments on spaces.

* Thanks to an old report and patch from Stewart Brodie <stewart@eh.org>, a
  potential crash in response to a corrupt RCS file has been fixed.

* CVS now locks the history and val-tags files before writing to them.
  Especially with large repositories, users should no longer see new warnings
  about corrupt history records when using the `cvs history' command.  Existing
  corrupt history records will still need to be removed manually.  val-tags
  corruption should have had less obvious effects, but removing the
  CVSROOT/val-tags file and allowing a 1.11.21 or later version of CVS to
  regenerate it may eliminate a few odd behaviors and possibly cause a slight
  speed up of read transactions in large repositories over time.

BUILD ISSUES

* The RPM spec file works again with the most modern versions of `rpm'.  It
  also finds the correct version of install-sh when building the CVS with
  GSSAPI.

DEVELOPER ISSUES

* We've standardized on Automake 1.9.6 to get some at new features that make
  our jobs easier.  See the HACKING file for more on using the autotools with
  CVS.
Updated devel/scmcvs to 1.12.13
Only pull in ncurses dependency if the sytem curses does not supply wsyncup.