Changeset 9796 for trunk/dports/print/gv


Ignore:
Timestamp:
Dec 16, 2004, 3:58:55 AM (15 years ago)
Author:
jmpp
Message:

Submitted by: jmpp@
Reviewed by: jmpp@
Approved by: toby@

Move the man page from ${prefix}/man to ${prefix}/share/man
Major rework of spacing and tabing (sorry toby, it was awful reading it as it was! ;-)
Increase the revision

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/print/gv/Portfile

    r4693 r9796  
    1 # $Id: Portfile,v 1.3 2004/01/14 21:57:10 toby Exp $
     1# $Id: Portfile,v 1.4 2004/12/16 03:58:55 jmpp Exp $
    22
    3 PortSystem       1.0
    4 name             gv
    5 version          3.5.8
    6 categories       print
    7 maintainers      toby@opendarwin.org
    8 description      PostScript and PDF previewer
    9 long_description \
    10     gv is an X11 PostScript and PDF previewer based on Tim Theisen's \
    11     ghostview-1.5.  It uses the Xaw3d widget set, thus providing a \
    12     much nicer look and it's said to be a bit faster.
    13 homepage         http://wwwthep.physik.uni-mainz.de/~plass/gv/
    14 platforms        darwin
    15 master_sites     ftp://ftpthep.physik.uni-mainz.de/pub/gv/unix/
    16 checksums        md5 8f2f0bd97395d6cea52926ddee736da8
    17 depends_lib      lib:libXaw3d.7:Xaw3d
    18 depends_run      bin:gs:ghostscript
    19 patchfiles       patch-setenv.c
    20 post-patch {
    21     reinplace "s|DIR    = /usr/local|DIR    = ${prefix}|" "${worksrcpath}/config.Unix"
    22     reinplace "s|##aaa##|aaa|" "${worksrcpath}/source/paths.h"
     3PortSystem 1.0
     4
     5name       gv
     6version    3.5.8
     7revision   1
     8categories      print
     9maintainers     toby@opendarwin.org
     10
     11description     PostScript and PDF previewer
     12long_description           gv is an X11 PostScript and PDF previewer based on Tim Theisen's \
     13                           ghostview-1.5. It uses the Xaw3d widget set, thus providing a \
     14                           much nicer look and it's said to be a bit faster.
     15
     16homepage        http://wwwthep.physik.uni-mainz.de/~plass/gv/
     17platforms       darwin
     18master_sites    ftp://ftpthep.physik.uni-mainz.de/pub/gv/unix/
     19checksums       md5 8f2f0bd97395d6cea52926ddee736da8
     20
     21depends_lib     lib:libXaw3d.7:Xaw3d
     22depends_run     bin:gs:ghostscript
     23
     24patchfiles      patch-setenv.c
     25post-patch      {
     26                reinplace "s|DIR    = /usr/local|DIR    = ${prefix}|" "${worksrcpath}/config.Unix"
     27                reinplace "s|/man/man1|/share/man/man1|g" ${worksrcpath}/config.Unix
     28                reinplace "s|##aaa##|aaa|" "${worksrcpath}/source/paths.h"
    2329}
    24 use_xmkmf        yes
    25 pre-build {
    26     file copy "${worksrcpath}/doc/gv.man" "${worksrcpath}/source"
     30
     31use_xmkmf       yes
     32pre-build       {
     33                file copy "${worksrcpath}/doc/gv.man" "${worksrcpath}/source"
    2734}
    28 post-destroot {
    29     cd ${worksrcpath}/source
    30     system "make DESTDIR=${destroot} DOCHTMLDIR=${prefix}/share/doc/gv install.man"
     35
     36post-destroot   {
     37                cd ${worksrcpath}/source
     38                system "make DESTDIR=${destroot} DOCHTMLDIR=${prefix}/share/doc/gv install.man"
    3139}
Note: See TracChangeset for help on using the changeset viewer.