[87929] trunk/dports/archivers/ucl/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Dec 12 18:14:37 PST 2011


Revision: 87929
          http://trac.macports.org/changeset/87929
Author:   ryandesign at macports.org
Date:     2011-12-12 18:14:34 -0800 (Mon, 12 Dec 2011)
Log Message:
-----------
ucl: add universal variant and fix builds for non-default build_arch; don't look for a Fortran compiler; indicate GPL-2+ license; use unversioned docdir

Modified Paths:
--------------
    trunk/dports/archivers/ucl/Portfile

Modified: trunk/dports/archivers/ucl/Portfile
===================================================================
--- trunk/dports/archivers/ucl/Portfile	2011-12-13 01:05:37 UTC (rev 87928)
+++ trunk/dports/archivers/ucl/Portfile	2011-12-13 02:14:34 UTC (rev 87929)
@@ -1,12 +1,16 @@
 # $Id$
 
 PortSystem		1.0
+PortGroup		muniversal 1.0
 
 name			ucl
 version			1.03
+revision		1
 categories		archivers
 platforms		darwin
 maintainers		nomaintainer
+license			GPL-2+
+
 description		A data compression library with low memory usage
 
 long_description \
@@ -21,12 +25,19 @@
 				sha1 5847003d136fbbca1334dd5de10554c76c755f7c \
 				rmd160 d1b50127d482481c125eabff9a9c157d491c4a6a
 
-universal_variant no
-
 configure.args	--enable-shared
 
+configure.env	F77=no
+
+# Because the configure script doesn't save the LDFLAGS MacPorts sets.
+merger_arch_flag	no
+merger_arch_compiler	yes
+if {![variant_isset universal]} {
+	configure.cc-append	[get_canonical_archflags]
+}
+
 post-destroot {
-	set docdir ${prefix}/share/doc/${name}-${version}
+	set docdir ${prefix}/share/doc/${name}
 	xinstall -d ${destroot}${docdir}
 	xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING NEWS README THANKS TODO \
 		${destroot}${docdir}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111212/efd2a1d0/attachment.html>


More information about the macports-changes mailing list