Ticket #14116: xfig_Portfile.diff
File xfig_Portfile.diff, 1.0 KB (added by brad.froehle@…, 17 years ago) |
---|
-
Portfile
old new 1 1 # $Id: Portfile 33558 2008-01-30 07:34:09Z pguyot@kallisys.net $ 2 2 3 3 PortSystem 1.0 4 4 5 name xfig 5 6 version 3.2.5 6 7 revision 2 … … 29 30 depends_run bin:gs:ghostscript \ 30 31 bin:fig2dev:transfig 31 32 use_xmkmf yes 33 xmkmf.args-append -DUseSeparateConfDir=NO 32 34 patchfiles patch-Imakefile \ 33 35 patch-fig.h \ 34 36 patch-f_util.c \ 35 37 patch-w_keyboard.c \ 36 38 patch-w_library.c 37 39 post-patch { 38 40 reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/Imakefile 39 41 reinplace "s|__DESTROOT|${destroot}|g" ${worksrcpath}/Imakefile 40 42 } 41 43 destroot.target install.all install.man 42 post-destroot {43 # Remove the /usr/X11R6/lib/X11/app-defaults symlink44 # (this could be done by handling symlinks better on images)45 file delete ${destroot}/usr/X11/lib/X11/app-defaults46 }47 44 48 45 livecheck.check regex 49 46 livecheck.regex {>Xfig/Transfig (.*) Download</a>}