[34507] trunk/dports/graphics/xfig/Portfile

pguyot at kallisys.net pguyot at kallisys.net
Tue Feb 26 23:37:14 PST 2008


Revision: 34507
          http://trac.macosforge.org/projects/macports/changeset/34507
Author:   pguyot at kallisys.net
Date:     2008-02-26 23:37:14 -0800 (Tue, 26 Feb 2008)

Log Message:
-----------
graphics/xfig: removed ugly hack (#14116) and fixed destroot violation

Modified Paths:
--------------
    trunk/dports/graphics/xfig/Portfile

Modified: trunk/dports/graphics/xfig/Portfile
===================================================================
--- trunk/dports/graphics/xfig/Portfile	2008-02-27 06:26:51 UTC (rev 34506)
+++ trunk/dports/graphics/xfig/Portfile	2008-02-27 07:37:14 UTC (rev 34507)
@@ -1,9 +1,10 @@
 # $Id$
 
-PortSystem		1.0
+PortSystem 1.0
+
 name			xfig
 version			3.2.5
-revision		2
+revision		3
 categories		graphics x11
 maintainers		pguyot at kallisys.net
 description		Facility for Interactive Generation of figures under X11
@@ -29,21 +30,19 @@
 depends_run		bin:gs:ghostscript \
 				bin:fig2dev:transfig
 use_xmkmf		yes
+xmkmf.args-append	\
+				-DUseSeparateConfDir=NO -DBuildHtmlManPages=NO
 patchfiles		patch-Imakefile \
 				patch-fig.h \
                 patch-f_util.c \
 				patch-w_keyboard.c \
                 patch-w_library.c
+
 post-patch {
 	reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/Imakefile
 	reinplace "s|__DESTROOT|${destroot}|g" ${worksrcpath}/Imakefile
 }
 destroot.target	install.all install.man
-post-destroot {
-	# Remove the /usr/X11R6/lib/X11/app-defaults symlink
-	# (this could be done by handling symlinks better on images)
-    file delete ${destroot}/usr/X11/lib/X11/app-defaults
-}
 
 livecheck.check	regex
 livecheck.regex	{>Xfig/Transfig (.*) Download</a>}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080226/8726bff8/attachment.html 


More information about the macports-changes mailing list