[26623] trunk/dports/sysutils/FDclone/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Sat Jun 30 19:47:27 PDT 2007
Revision: 26623
http://trac.macosforge.org/projects/macports/changeset/26623
Author: takanori at macports.org
Date: 2007-06-30 19:47:27 -0700 (Sat, 30 Jun 2007)
Log Message:
-----------
Untabify.
Modified Paths:
--------------
trunk/dports/sysutils/FDclone/Portfile
Modified: trunk/dports/sysutils/FDclone/Portfile
===================================================================
--- trunk/dports/sysutils/FDclone/Portfile 2007-07-01 02:43:11 UTC (rev 26622)
+++ trunk/dports/sysutils/FDclone/Portfile 2007-07-01 02:47:27 UTC (rev 26623)
@@ -1,64 +1,65 @@
# $Id$
-PortSystem 1.0
-name FDclone
-version 2.09d
+PortSystem 1.0
+name FDclone
+version 2.09d
revision 1
-categories sysutils shells
-maintainers takanori at macports.org
-description File & Directory Maintenance Tool
-long_description ${description}
-homepage http://hp.vector.co.jp/authors/VA012337/soft/fd/index.html
-master_sites http://hp.vector.co.jp/authors/VA012337/soft/fd/ \
- ftp://ftp.unixusers.net/src/fdclone/
-platforms darwin
-distname FD-${version}
-checksums md5 f9a5a5455181dd838c9c37608889d3d9 \
- sha1 9094bafb3293202a008eb8f3f9790e8be0cf5fb8 \
- rmd160 5d860d7fa210511ea8c4151b1bbd635c5809053b
+categories sysutils shells
+maintainers takanori at macports.org
+description File & Directory Maintenance Tool
+long_description \
+ ${description}
+homepage http://hp.vector.co.jp/authors/VA012337/soft/fd/index.html
+master_sites http://hp.vector.co.jp/authors/VA012337/soft/fd/ \
+ ftp://ftp.unixusers.net/src/fdclone/
+platforms darwin
+distname FD-${version}
+checksums md5 f9a5a5455181dd838c9c37608889d3d9 \
+ sha1 9094bafb3293202a008eb8f3f9790e8be0cf5fb8 \
+ rmd160 5d860d7fa210511ea8c4151b1bbd635c5809053b
-depends_lib port:ncurses
+depends_lib port:ncurses
-set editor ""
-set pager ""
+set editor ""
+set pager ""
-patchfiles nojmaninstall.patch
-post-patch {
- foreach f [glob ${worksrcpath}/*.c] {
- reinplace "s|\\(#include <unistd\.h>\\)|\\1\\\n#include <sys/types\.h>|" ${f}
- }
- reinplace "s|\$(PREFIX)/man|\$(DATATOP)/man|g" ${worksrcpath}/Makefile.in
- reinplace "s|\$(CC) __MEM__|\$(CC) \$(CFLAGS) __MEM__|g" ${worksrcpath}/Makefile.in
+patchfiles nojmaninstall.patch
+post-patch {
+ foreach f [glob ${worksrcpath}/*.c] {
+ reinplace "s|\\(#include <unistd\.h>\\)|\\1\\\n#include <sys/types\.h>|" ${f}
+ }
+ reinplace "s|\$(PREFIX)/man|\$(DATATOP)/man|g" ${worksrcpath}/Makefile.in
+ reinplace "s|\$(CC) __MEM__|\$(CC) \$(CFLAGS) __MEM__|g" ${worksrcpath}/Makefile.in
}
-configure {
- if {[variant_isset nojpnmes]} {
- system "echo \"#define _NOJPNMES\" >> ${worksrcpath}/config.hin"
- }
+configure {
+ if {[variant_isset nojpnmes]} {
+ system "echo \"#define _NOJPNMES\" >> ${worksrcpath}/config.hin"
+ }
- if {${editor} != ""} { reinplace "s|\"vi\"|\"${editor}\"|g" ${worksrcpath}/fd.h }
- if {${pager} != ""} { reinplace "s|\"more%K\"|\"${pager}\"|g" ${worksrcpath}/fd.h }
+ if {${editor} != ""} { reinplace "s|\"vi\"|\"${editor}\"|g" ${worksrcpath}/fd.h }
+ if {${pager} != ""} { reinplace "s|\"more%K\"|\"${pager}\"|g" ${worksrcpath}/fd.h }
- if {[variant_isset autosort]} {
- reinplace "s|SORTTYPE\t0|SORTTYPE\t1|" ${worksrcpath}/fd.h
- reinplace "s|DISPLAYMODE\t0|DISPLAYMODE\t3|" ${worksrcpath}/fd.h
- reinplace "s|SORTTREE\t0|SORTTREE\t1|" ${worksrcpath}/fd.h
- }
+ if {[variant_isset autosort]} {
+ reinplace "s|SORTTYPE\t0|SORTTYPE\t1|" ${worksrcpath}/fd.h
+ reinplace "s|DISPLAYMODE\t0|DISPLAYMODE\t3|" ${worksrcpath}/fd.h
+ reinplace "s|SORTTREE\t0|SORTTREE\t1|" ${worksrcpath}/fd.h
+ }
}
-build.args CONFDIR=${prefix}/etc PREFIX=${prefix} CFLAGS="${configure.cflags}" CPPFLAGS="${configure.cppflags} -I${prefix}/include/ncurses" LDFLAGS="${configure.ldflags} -lncurses"
+build.args CONFDIR=${prefix}/etc PREFIX=${prefix} CFLAGS="${configure.cflags}" CPPFLAGS="${configure.cppflags} -I${prefix}/include/ncurses" LDFLAGS="${configure.ldflags} -lncurses"
-destroot.args BUILD=${destroot} PREFIX=${prefix}
-post-destroot {
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- foreach f {FAQ* HISTORY* Install* LICENSES* README* TECHKNOW* ToAdmin* *.cat} {
- eval xinstall -m 644 [glob ${worksrcpath}/${f}] ${destroot}${prefix}/share/doc/${name}
- }
- xinstall -m 644 ${worksrcpath}/_fdrc ${destroot}${prefix}/etc/fd2rc.dist
+destroot.args BUILD=${destroot} PREFIX=${prefix}
+post-destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+ foreach f {FAQ* HISTORY* Install* LICENSES* README* TECHKNOW* ToAdmin* *.cat} {
+ eval xinstall -m 644 [glob ${worksrcpath}/${f}] ${destroot}${prefix}/share/doc/${name}
+ }
+ xinstall -m 644 ${worksrcpath}/_fdrc ${destroot}${prefix}/etc/fd2rc.dist
}
variant universal {
- build.args CONFDIR=${prefix}/etc PREFIX=${prefix} CFLAGS="${configure.cflags} ${configure.universal_cflags}" CPPFLAGS="${configure.cppflags} -I${prefix}/include/ncurses" LDFLAGS="${configure.ldflags} ${configure.universal_ldflags} -lncurses"
+ build.args CONFDIR=${prefix}/etc PREFIX=${prefix} CFLAGS="${configure.cflags} ${configure.universal_cflags}" CPPFLAGS="${configure.cppflags} -I${prefix}/include/ncurses" LDFLAGS="${configure.ldflags} ${configure.universal_ldflags} -lncurses"
}
variant nojpnmes {}
variant emacs conflicts vim {set editor emacs}
@@ -68,6 +69,6 @@
variant jless conflicts lv less {set pager jless}
variant autosort {}
-livecheck.check regex
-livecheck.url ${homepage}
-livecheck.regex FD-(\[0-9.a-z\]+)\\.tar
+livecheck.check regex
+livecheck.url ${homepage}
+livecheck.regex FD-(\[0-9.a-z\]+)\\.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070630/4729225c/attachment.html
More information about the macports-changes
mailing list