[22387] trunk/dports/sysutils/diffutils/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Tue Feb 27 13:01:33 PST 2007
Revision: 22387
http://trac.macosforge.org/projects/macports/changeset/22387
Author: pipping at macports.org
Date: 2007-02-27 13:01:32 -0800 (Tue, 27 Feb 2007)
Log Message:
-----------
* replace dumb variant with 'without_prefix'
* cleanup
Modified Paths:
--------------
trunk/dports/sysutils/diffutils/Portfile
Modified: trunk/dports/sysutils/diffutils/Portfile
===================================================================
--- trunk/dports/sysutils/diffutils/Portfile 2007-02-27 20:39:11 UTC (rev 22386)
+++ trunk/dports/sysutils/diffutils/Portfile 2007-02-27 21:01:32 UTC (rev 22387)
@@ -1,30 +1,32 @@
# $Id$
-PortSystem 1.0
-name diffutils
-version 2.8.1
-revision 1
-categories sysutils textproc devel
-maintainers nomaintainer at macports.org
-description GNU diff utilities
+PortSystem 1.0
+name diffutils
+version 2.8.1
+revision 2
+categories sysutils textproc devel
+maintainers nomaintainer at macports.org
+description GNU diff utilities
long_description \
- diffutils contains the GNU diff, diff3, sdiff, and cmp utilities. \
- Their features are a superset of the Unix features and they are \
- significantly faster.
+ diffutils contains the GNU diff, diff3, sdiff, and cmp utilities. \
+ Their features are a superset of the Unix features and they are \
+ significantly faster.
-platforms darwin sunos
+platforms darwin sunos
+homepage http://www.gnu.org/software/diffutils/
+master_sites gnu
+checksums md5 71f9c5ae19b60608f6c7f162da86a428
+patchfiles patch-src_system.h
+configure.args --program-prefix=g \
+ --infodir=${prefix}/share/info \
+ --mandir=${prefix}/share/man
-homepage http://www.gnu.org/software/diffutils/
-master_sites gnu
-
-checksums md5 71f9c5ae19b60608f6c7f162da86a428
-
-patchfiles patch-src_system.h
-
-configure.args --program-prefix=g --infodir=${prefix}/share/info \
- --mandir=${prefix}/share/man
-
-variant normal {
- configure.args-delete --program-prefix=g
+variant without_prefix {
+ post-destroot {
+ cd ${destroot}${prefix}/bin
+ foreach a [glob g*] {
+ regexp g(.+) $a crap b
+ file link -hard $b g$b
+ }
+ }
}
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070227/58e7abee/attachment.html
More information about the macports-changes
mailing list