Modified: trunk/dports/textproc/unix2dos/Portfile (74127 => 74128)
--- trunk/dports/textproc/unix2dos/Portfile 2010-12-05 17:28:20 UTC (rev 74127)
+++ trunk/dports/textproc/unix2dos/Portfile 2010-12-05 18:15:07 UTC (rev 74128)
@@ -2,31 +2,18 @@
PortSystem 1.0
name unix2dos
-version 2.2
+replaced_by dos2unix
+version 5.0
+license FreeBSD
categories textproc
platforms darwin
+homepage http://www.xs4all.nl/~waterlan/dos2unix.html
description Convert text from unix to dos format
long_description ${description}
maintainers fernandes.org:andrew
-master_sites macports
-checksums md5 caf9f33155073d3efd310eff9103170b \
- sha1 e63ac815b7049c07eab0a1ade48c978c8a4c99f7
-patchfiles patch-unix2dos.1.man patch-unix2dos.c
+distfiles
-distname ${name}-${version}.src
-
-pre-extract {
- file mkdir ${worksrcpath}
- }
-extract.dir ${worksrcpath}
-
-use_configure no
-
-build {
- system "cd ${worksrcpath} && gcc ${configure.cflags} unix2dos.c -o unix2dos"
- }
-
-destroot {
- xinstall -m 0555 -W ${worksrcpath} -s unix2dos ${destroot}${prefix}/bin/
- xinstall -m 0444 -W ${worksrcpath} unix2dos.1 ${destroot}${prefix}/share/man/man1/
- }
+pre-configure {
+ ui_error "${name} has been renamed to ${replaced_by}. Please install ${replaced_by} instead."
+ return -code error "obsolete port"
+}