aboutsummaryrefslogtreecommitdiffstats
path: root/www/webcheck
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2001-07-13 09:51:30 +0800
committermi <mi@FreeBSD.org>2001-07-13 09:51:30 +0800
commit7b8521eae53ae39036d9ed98195ce3f15f245a51 (patch)
treec9fa7e8db0948d39da8108e3a91c86572a108075 /www/webcheck
parentf46875c37c659121098d4a4ac27bee5243636d4a (diff)
downloadfreebsd-ports-gnome-7b8521eae53ae39036d9ed98195ce3f15f245a51.tar.gz
freebsd-ports-gnome-7b8521eae53ae39036d9ed98195ce3f15f245a51.tar.zst
freebsd-ports-gnome-7b8521eae53ae39036d9ed98195ce3f15f245a51.zip
RUN_DEPEND on python15 -- the scripts break with the new Python
:-( Can someone look into this, please? Generate and install USAGE document (derived from the author's INSTALL file). That's the user's only documentation -- there is no man-page or meaningfull usage(). Bump up port-revision. Change maintainership to ports. Reviewed by: previous maintainer (billf) Approved by: previous maintainer (billf)
Diffstat (limited to 'www/webcheck')
-rw-r--r--www/webcheck/Makefile18
-rw-r--r--www/webcheck/files/patch-usage21
-rw-r--r--www/webcheck/pkg-plist2
3 files changed, 36 insertions, 5 deletions
diff --git a/www/webcheck/Makefile b/www/webcheck/Makefile
index a2a6ab74655e..e41899f6f48f 100644
--- a/www/webcheck/Makefile
+++ b/www/webcheck/Makefile
@@ -7,17 +7,15 @@
PORTNAME= linbot
PORTVERSION= 1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/www/misc
EXTRACT_SUFX= .tgz
-MAINTAINER= billf@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
-RUN_DEPENDS= python:${PORTSDIR}/lang/python
-
-NO_BUILD= yeah
+RUN_DEPENDS= python:${PORTSDIR}/lang/python15
do-install:
${MKDIR} ${PREFIX}/share/linbot
@@ -28,5 +26,15 @@ do-install:
${CP} ${WRKSRC}/${d}/*.py ${PREFIX}/share/linbot/${d}
.endfor
${LN} -sf ${PREFIX}/share/linbot/linbot.py ${PREFIX}/bin/linbot
+.ifndef NOPORTDOCS
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/USAGE ${DOCSDIR}
+
+do-build:
+ ${AWK} '/^Running Linbot/ { output=1 } output' \
+ < ${WRKSRC}/INSTALL > ${WRKSRC}/USAGE
+.else
+NO_BUILD= yeah
+.endif
.include <bsd.port.mk>
diff --git a/www/webcheck/files/patch-usage b/www/webcheck/files/patch-usage
new file mode 100644
index 000000000000..4d004c10f2bd
--- /dev/null
+++ b/www/webcheck/files/patch-usage
@@ -0,0 +1,21 @@
+This patch simply fixes a few typos. The author clearly did not care to
+run a spell-checker :)
+
+ -mi
+
+--- INSTALL Thu Mar 11 23:56:00 1999
++++ INSTALL Thu Jul 12 02:30:50 2001
+@@ -31 +31 @@
+-It is simple t run Linbot.
++It is simple to run Linbot.
+@@ -71 +71 @@
+-internal documents. An exampel would be a main server
++internal documents. An example would be a main server
+@@ -148,2 +148,2 @@
+- locationThis specifies the hosts pointed to that are to be considered
+- internal. By default Linbot only consideres urls pointing to the
++ location This specifies the hosts pointed to that are to be considered
++ internal. By default Linbot only considers URLs pointing to the
+@@ -185 +185 @@
+-concering bug reports.
++concerning bug reports.
diff --git a/www/webcheck/pkg-plist b/www/webcheck/pkg-plist
index 8fe33fa58873..451fa0247d7b 100644
--- a/www/webcheck/pkg-plist
+++ b/www/webcheck/pkg-plist
@@ -23,6 +23,8 @@ share/linbot/schemes/filelink.py
share/linbot/schemes/ftplink.py
share/linbot/schemes/httplink.py
share/linbot/version.py
+%%PORTDOCS%%share/doc/linbot/USAGE
+%%PORTDOCS%%@dirrm share/doc/linbot/
@dirrm share/linbot/plugins
@dirrm share/linbot/schemes
@dirrm share/linbot