[124120] trunk/dports/www/webcrawl
and.damore at macports.org
and.damore at macports.org
Tue Aug 19 05:27:38 PDT 2014
Revision: 124120
https://trac.macports.org/changeset/124120
Author: and.damore at macports.org
Date: 2014-08-19 05:27:38 -0700 (Tue, 19 Aug 2014)
Log Message:
-----------
port webcrawl: enhance building, abandon port, fix #44593; maintainer timeout
Modified Paths:
--------------
trunk/dports/www/webcrawl/Portfile
Added Paths:
-----------
trunk/dports/www/webcrawl/files/patch-Makefile.diff
Removed Paths:
-------------
trunk/dports/www/webcrawl/files/patch-Makefile
Modified: trunk/dports/www/webcrawl/Portfile
===================================================================
--- trunk/dports/www/webcrawl/Portfile 2014-08-19 08:06:03 UTC (rev 124119)
+++ trunk/dports/www/webcrawl/Portfile 2014-08-19 12:27:38 UTC (rev 124120)
@@ -3,22 +3,28 @@
PortSystem 1.0
name webcrawl
version 1.10
-revision 0
+license permissive
categories www
-maintainers mac.com:lomion
-description webcrawl is a program which downloads entire web sites,\
- following links in HTML documents.
+maintainers nomaintainer
+description download entire web sites
long_description webcrawl is a program which downloads entire web sites,\
following links in HTML documents.
homepage http://freecode.com/projects/webcrawl/
platforms darwin
master_sites sunsite:apps/www/mirroring
extract.suffix .tgz
-checksums md5 68dec8705d86fcc7e9d05b2ea74c53fd
-patchfiles patch-Makefile
+checksums md5 68dec8705d86fcc7e9d05b2ea74c53fd \
+ rmd160 c81168236462927efa7b8b274468aa5b5a4e980c \
+ sha256 f0bdac391c0f2a87d9db100232ad8aff5d3c10bc32e06880c9ee69cbbd3b4a79
+patchfiles patch-Makefile.diff
-configure {
- reinplace "s|__DSTROOT|${destroot}${prefix}|g" ${worksrcpath}/Makefile
-}
+use_configure no
build.target
+build.args CC=${configure.cc} \
+ CPPFLAGS=${configure.cppflags} \
+ CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
+ LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
+destroot.args-append PREFIX=${prefix} \
+ DESTDIR=${destroot.destdir}
+
Deleted: trunk/dports/www/webcrawl/files/patch-Makefile
===================================================================
--- trunk/dports/www/webcrawl/files/patch-Makefile 2014-08-19 08:06:03 UTC (rev 124119)
+++ trunk/dports/www/webcrawl/files/patch-Makefile 2014-08-19 12:27:38 UTC (rev 124120)
@@ -1,11 +0,0 @@
---- Makefile.orig Wed Mar 24 14:15:44 2004
-+++ Makefile Wed Mar 24 14:17:53 2004
-@@ -1,6 +1,6 @@
- OBJ=webcrawl.o http.o path.o getxref.o url.o rewrite.o rename.o
--INSTDIR=/usr/local/bin
--MAN=/usr/local/man
-+INSTDIR=__DSTROOT/bin
-+MAN=__DSTROOT/share/man
-
- webcrawl: $(OBJ)
- gcc -o webcrawl $(OBJ)
Copied: trunk/dports/www/webcrawl/files/patch-Makefile.diff (from rev 124119, trunk/dports/www/webcrawl/files/patch-Makefile)
===================================================================
--- trunk/dports/www/webcrawl/files/patch-Makefile.diff (rev 0)
+++ trunk/dports/www/webcrawl/files/patch-Makefile.diff 2014-08-19 12:27:38 UTC (rev 124120)
@@ -0,0 +1,24 @@
+--- Makefile.orig 2014-08-10 18:53:10.000000000 +0200
++++ Makefile 2014-08-10 18:53:25.000000000 +0200
+@@ -1,16 +1,17 @@
+ OBJ=webcrawl.o http.o path.o getxref.o url.o rewrite.o rename.o
+-INSTDIR=/usr/local/bin
+-MAN=/usr/local/man
++PREFIX ?= /usr/local
++INSTDIR = $(DESTDIR)$(PREFIX)/bin
++MAN = $(DESTDIR)$(PREFIX)/share/man
+
+ webcrawl: $(OBJ)
+- gcc -o webcrawl $(OBJ)
++ $(CC) -o webcrawl $(LDFLAGS) $(OBJ)
+ clean:
+ rm -f *.o *~ webcrawl
+ install: webcrawl
+ install webcrawl $(INSTDIR)
+ install webcrawl.1 $(MAN)/man1
+ .c.o:
+- gcc -Wall -c $*.c
++ $(CC) $(CPPFLAGS) $(CFLAGS) -Wall -c $*.c
+
+ webcrawl.o: webcrawl.c web.h
+ http.o: http.c web.h
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140819/7162ba47/attachment-0001.html>
More information about the macports-changes
mailing list