Ticket #14116: xfig_Portfile.diff

File xfig_Portfile.diff, 1.0 KB (added by brad.froehle@…, 16 years ago)

graphics/xfig/Portfile patch

  • Portfile

    old new  
    11# $Id: Portfile 33558 2008-01-30 07:34:09Z pguyot@kallisys.net $
    22
    33PortSystem              1.0
     4
    45name                    xfig
    56version                 3.2.5
    67revision                2
     
    2930depends_run             bin:gs:ghostscript \
    3031                                bin:fig2dev:transfig
    3132use_xmkmf               yes
     33xmkmf.args-append       -DUseSeparateConfDir=NO
    3234patchfiles              patch-Imakefile \
    3335                                patch-fig.h \
    34                 patch-f_util.c \
     36                                patch-f_util.c \
    3537                                patch-w_keyboard.c \
    36                 patch-w_library.c
     38                                patch-w_library.c
    3739post-patch {
    3840        reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/Imakefile
    3941        reinplace "s|__DESTROOT|${destroot}|g" ${worksrcpath}/Imakefile
    4042}
    4143destroot.target install.all install.man
    42 post-destroot {
    43         # Remove the /usr/X11R6/lib/X11/app-defaults symlink
    44         # (this could be done by handling symlinks better on images)
    45     file delete ${destroot}/usr/X11/lib/X11/app-defaults
    46 }
    4744
    4845livecheck.check regex
    4946livecheck.regex {>Xfig/Transfig (.*) Download</a>}