[97231] trunk/dports/devel/gmp-cxx-wrappers/Portfile
jmr at macports.org
jmr at macports.org
Fri Aug 31 11:08:51 PDT 2012
Revision: 97231
https://trac.macports.org/changeset/97231
Author: jmr at macports.org
Date: 2012-08-31 11:08:47 -0700 (Fri, 31 Aug 2012)
Log Message:
-----------
gmp-cxx-wrappers: replaced_by gmp (#34917)
Modified Paths:
--------------
trunk/dports/devel/gmp-cxx-wrappers/Portfile
Modified: trunk/dports/devel/gmp-cxx-wrappers/Portfile
===================================================================
--- trunk/dports/devel/gmp-cxx-wrappers/Portfile 2012-08-31 16:25:20 UTC (rev 97230)
+++ trunk/dports/devel/gmp-cxx-wrappers/Portfile 2012-08-31 18:08:47 UTC (rev 97231)
@@ -1,9 +1,11 @@
# $Id$
PortSystem 1.0
+
name gmp-cxx-wrappers
+replaced_by gmp
version 4.2.1
-revision 2
+revision 3
categories devel math
maintainers nomaintainer
platforms darwin freebsd
@@ -15,43 +17,10 @@
homepage http://www.swox.com/gmp/
-master_sites gnu:gmp
+distfiles
+archive_sites
-use_bzip2 yes
-distfiles gmp-${version}${extract.suffix}
-checksums gmp-${version}${extract.suffix} md5 091c56e0e1cca6b09b17b69d47ef18e3
-
-depends_run port:gmp
-
-worksrcdir gmp-${version}
-
-configure.env ABI=32
-configure.cflags-append -force_cpusubtype_ALL
-configure.args \
- --infodir=\\\${prefix}/share/info \
- --enable-shared \
- --enable-cxx
-
-test.run yes
-test.target check
-
-post-destroot {
- ui_msg "$UI_PREFIX Running ranlib on static libraries"
- system "ranlib ${destroot}${prefix}/lib/libgmpxx.a"
-
- delete ${destroot}${prefix}/include/gmp.h
-
- delete ${destroot}${prefix}/lib/libgmp.a
- delete ${destroot}${prefix}/lib/libgmp.la
- delete ${destroot}${prefix}/lib/libgmp.dylib
- delete ${destroot}${prefix}/lib/libgmp.3.dylib
- delete ${destroot}${prefix}/lib/libgmp.3.4.1.dylib
-
- delete ${destroot}${prefix}/share
+pre-fetch {
+ ui_error "$name is obsolete, please install $replaced_by instead."
+ return -code error "obsolete port"
}
-
-platform darwin i386 {
- configure.env-delete ABI=32
- configure.args-append --host=none-apple-darwin
- configure.cflags-delete -force_cpusubtype_ALL
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120831/3c1c6405/attachment.html>
More information about the macports-changes
mailing list