[22322] trunk/dports/sysutils/grep/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Mon Feb 26 00:07:53 PST 2007
Revision: 22322
http://trac.macosforge.org/projects/macports/changeset/22322
Author: pipping at macports.org
Date: 2007-02-26 00:07:53 -0800 (Mon, 26 Feb 2007)
Log Message:
-----------
* fix variant universal
Modified Paths:
--------------
trunk/dports/sysutils/grep/Portfile
Modified: trunk/dports/sysutils/grep/Portfile
===================================================================
--- trunk/dports/sysutils/grep/Portfile 2007-02-26 07:45:03 UTC (rev 22321)
+++ trunk/dports/sysutils/grep/Portfile 2007-02-26 08:07:53 UTC (rev 22322)
@@ -1,18 +1,30 @@
# $Id$
PortSystem 1.0
-name grep
-version 2.5.1
-platforms darwin
-categories sysutils
-maintainers waqar at macports.org
-description GNU grep, the \"fastest grep in the west\" (we hope).
-long_description \
- Grep searches one or more input files for lines containing a \
- match to a specified pattern. By default, grep prints the \
- matching lines.
+name grep
+version 2.5.1
+platforms darwin
+categories sysutils
+maintainers waqar at macports.org
+description GNU grep, the \"fastest grep in the west\" (we hope).
+long_description \
+ Grep searches one or more input files for lines containing a match \
+ to a specified pattern. By default, grep prints the matching lines.
homepage http://www.gnu.org/software/grep/grep.html
-platforms darwin
-master_sites gnu
-checksums md5 85df024edc9f9689035f6b3de28c7731
-configure.args --infodir=${prefix}/share/info --mandir=${prefix}/share/man
+platforms darwin
+master_sites gnu
+checksums md5 85df024edc9f9689035f6b3de28c7731
+configure.args --infodir=${prefix}/share/info \
+ --mandir=${prefix}/share/man
+configure.env CPPFLAGS="-I${prefix}/include" \
+ LDFLAGS="-L${prefix}/lib"
+depends_lib port:gettext port:libiconv
+
+if {[llength [info commands configure.universal_ldflags-append]] > 0} {
+ configure.universal_ldflags-append -L${prefix}/lib
+} else {
+ variant universal {
+ return -code error "You need to be running MacPorts 1.4.0 or higher to \
+ use this variant (universal)."
+ }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070226/469d614e/attachment.html
More information about the macports-changes
mailing list