Changeset 5483


Ignore:
Timestamp:
Feb 16, 2004, 10:07:00 PM (16 years ago)
Author:
rshaw
Message:

Corrects serious installation destroot problems.
Fixes html doc location to reside under $prefix.

Bug: 1006
Submitted by: hideishi
Reviewed by: rshaw
Approved by: rshaw

Location:
trunk/dports/graphics/tgif
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/tgif/Portfile

    r3203 r5483  
    1 # $Id: Portfile,v 1.4 2003/08/11 22:11:49 waqar Exp $
     1# $Id: Portfile,v 1.5 2004/02/16 22:07:00 rshaw Exp $
    22
    33PortSystem 1.0
    44name            tgif
    55version         4.1.42
     6revision        1
    67description     Basic vector drawing package
    78categories      x11 graphics
     
    1314checksums       md5 83b1cd01b1570fbf71ea5994af87f42e
    1415use_xmkmf       yes
    15 worksrcdir      ${distname}
    1616patchfiles      patch-Tgif.tmpl patch-Imakefile
    17 post-patch {
    18         set path "${worksrcpath}"
    19         system "chmod 644 Tgif.tmpl"
    20         reinplace "s|PREFIX|${prefix}|g" "${path}/Tgif.tmpl"
    21 }
    2217
    23 pre-destroot {
    24         set path "${worksrcpath}"
    25         reinplace "s|${prefix}|${destroot}${prefix}|g" "${path}/Makefile"
    26 }
     18post-patch      { reinplace "s|PREFIX|${prefix}|g" "${worksrcpath}/Tgif.tmpl" }
    2719
     20destroot.args   INSTALLFLAGS=-c
    2821destroot.target install install.man
     22
     23# vim: ts=8 sw=8
  • trunk/dports/graphics/tgif/files/patch-Tgif.tmpl

    r2044 r5483  
    11--- /tmp/Tgif.tmpl      Wed Jan 15 14:54:28 2003
    22+++ Tgif.tmpl   Wed Jan 15 14:55:17 2003
    3 @@ -39,9 +39,9 @@
     3@@ -39,9 +39,10 @@
    44 XCOMM CDEBUGFLAGS= -g -Wall
    55 XCOMM INSTPGMFLAGS= -s
     
    88-XCOMM TGIFDIR  = /u/halfmoon/lib/X11/tgif
    99+BINDIR = PREFIX/bin
    10 +MANPATH        = PREFIX/man
     10+MANPATH        = PREFIX/share/man
     11+DOCDIR = PREFIX/lib/X11/doc
    1112+TGIFDIR        = PREFIX/lib/X11/tgif
    1213 XCOMM MOREDEFINES      = -D_HAS_STREAMS_SUPPORT -DENABLE_NLS -D_TGIF_DBG
Note: See TracChangeset for help on using the changeset viewer.