diff options
author | mi <mi@FreeBSD.org> | 2001-07-13 09:51:30 +0800 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2001-07-13 09:51:30 +0800 |
commit | 7b8521eae53ae39036d9ed98195ce3f15f245a51 (patch) | |
tree | c9fa7e8db0948d39da8108e3a91c86572a108075 /www/linbot | |
parent | f46875c37c659121098d4a4ac27bee5243636d4a (diff) | |
download | freebsd-ports-graphics-7b8521eae53ae39036d9ed98195ce3f15f245a51.tar.gz freebsd-ports-graphics-7b8521eae53ae39036d9ed98195ce3f15f245a51.tar.zst freebsd-ports-graphics-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/linbot')
-rw-r--r-- | www/linbot/Makefile | 18 | ||||
-rw-r--r-- | www/linbot/files/patch-usage | 21 | ||||
-rw-r--r-- | www/linbot/pkg-plist | 2 |
3 files changed, 36 insertions, 5 deletions
diff --git a/www/linbot/Makefile b/www/linbot/Makefile index a2a6ab74655..e41899f6f48 100644 --- a/www/linbot/Makefile +++ b/www/linbot/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/linbot/files/patch-usage b/www/linbot/files/patch-usage new file mode 100644 index 00000000000..4d004c10f2b --- /dev/null +++ b/www/linbot/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/linbot/pkg-plist b/www/linbot/pkg-plist index 8fe33fa5887..451fa0247d7 100644 --- a/www/linbot/pkg-plist +++ b/www/linbot/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 |