[46509] trunk/dports/lang/antlr/Portfile
takeshi at macports.org
takeshi at macports.org
Thu Feb 5 17:40:19 PST 2009
Revision: 46509
http://trac.macports.org/changeset/46509
Author: takeshi at macports.org
Date: 2009-02-05 17:40:18 -0800 (Thu, 05 Feb 2009)
Log Message:
-----------
antlr: added a few lines to enable universal variant. revision not incremented
Modified Paths:
--------------
trunk/dports/lang/antlr/Portfile
Modified: trunk/dports/lang/antlr/Portfile
===================================================================
--- trunk/dports/lang/antlr/Portfile 2009-02-06 00:59:04 UTC (rev 46508)
+++ trunk/dports/lang/antlr/Portfile 2009-02-06 01:40:18 UTC (rev 46509)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
@@ -17,13 +18,19 @@
homepage http://www.antlr2.org/
master_sites ${homepage}download/ \
http://www.mirrorservice.org/sites/master.us.finkmirrors.net/distfiles/
-checksums md5 01cc9a2a454dd33dcd8c856ec89af090
+checksums md5 01cc9a2a454dd33dcd8c856ec89af090 \
+ sha1 802655c343cc7806aaf1ec2177a0e663ff209de1 \
+ rmd160 0b7951a28b748e912721fe0f6de4095d9f8da57d
patchfiles patch-configure.diff
configure.env CLASSPATH=.
configure.pre_args --prefix=${destroot}${prefix}
configure.args --disable-csharp
+if {[variant_isset universal]} {
+ build.args "CXXFLAGS=\"${configure.cxxflags} ${configure.universal_cxxflags}\" LDFLAGS=\"${configure.ldflags} ${configure.universal_ldflags}\""
+}
+
destroot.args versioneddir=java
post-destroot {
reinplace "s|antlr-2.7.3/|java/|g" ${destroot}${prefix}/bin/antlr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090205/45b9a893/attachment-0001.html>
More information about the macports-changes
mailing list