From c26e4613b845326c15e7677017019612cecaaf49 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Sun, 10 Apr 2005 13:01:56 +0000 Subject: - Style PR: ports/79710 Submitted by: Jonathan Noack (maintainer) --- devel/cvsweb3/Makefile | 12 +++++++++++- devel/cvsweb3/files/pkg-message.in | 15 +++++++++++++++ devel/cvsweb3/pkg-message | 15 --------------- devel/cvsweb3/pkg-plist | 17 +++++++++-------- 4 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 devel/cvsweb3/files/pkg-message.in delete mode 100644 devel/cvsweb3/pkg-message (limited to 'devel/cvsweb3') diff --git a/devel/cvsweb3/Makefile b/devel/cvsweb3/Makefile index 2ad125079d03..60e082acd25f 100644 --- a/devel/cvsweb3/Makefile +++ b/devel/cvsweb3/Makefile @@ -7,6 +7,7 @@ PORTNAME= cvsweb PORTVERSION= 3.0.5 +PORTREVISION= 1 CATEGORIES= devel www MASTER_SITES= ${MASTER_SITE_LOCAL} \ http://people.FreeBSD.org/~scop/cvsweb/ @@ -24,10 +25,15 @@ RUN_DEPENDS= ${SITE_PERL}/IPC/Run.pm:${PORTSDIR}/devel/p5-IPC-Run \ # best with them. RUN_DEPENDS+= ${SITE_PERL}/MIME/Types.pm:${PORTSDIR}/mail/p5-MIME-Types \ ${SITE_PERL}/${PERL_ARCH}/String/Ediff.pm:${PORTSDIR}/devel/p5-String-Ediff \ - enscript:${PORTSDIR}/print/enscript-a4 \ cvsgraph:${PORTSDIR}/devel/cvsgraph +# Use PAPERSIZE to avoid a stale dependency on Enscript. +PAPERSIZE?= letter +RUN_DEPENDS+= enscript:${PORTSDIR}/print/enscript-${PAPERSIZE} + LATEST_LINK= cvsweb3 +CONFLICTS= cvsweb-2.* + NO_BUILD= yes USE_PERL5= yes @@ -73,6 +79,9 @@ CONFFILES= cvsweb.conf \ PLIST_SUB= CGIDIR="${CGIDIR}" ICONSDIR="${ICONSDIR}" CSSDIR="${CSSDIR}" +SUB_FILES= pkg-message +SUB_LIST= PREFIX="${PREFIX}" DOCSDIR="${DOCSDIR}" + post-patch: ${PERL} -i -pe "\ s'!!PERL!!'${PERL}'g; \ @@ -95,6 +104,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/icons/* ${PREFIX}/${ICONSDIR}/cvsweb/ ${MKDIR} ${PREFIX}/${CSSDIR}/cvsweb ${INSTALL_DATA} ${WRKSRC}/css/*.css ${PREFIX}/${CSSDIR}/cvsweb/ + ${MKDIR} ${PREFIX}/share/enscript/hl ${INSTALL_DATA} ${WRKSRC}/enscript/*.st ${PREFIX}/share/enscript/hl/ .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} diff --git a/devel/cvsweb3/files/pkg-message.in b/devel/cvsweb3/files/pkg-message.in new file mode 100644 index 000000000000..942d80831845 --- /dev/null +++ b/devel/cvsweb3/files/pkg-message.in @@ -0,0 +1,15 @@ +************************************************************ +Quickstart: + cd %%PREFIX%%/etc/cvsweb + cp cvsweb.conf.dist cvsweb.conf + +and you can browse your CVS repository via web if you set up +your web server correctly. The URL to get to the cvsweb +will be like `http://localhost/cgi-bin/cvsweb.cgi/'. + + To configure its appearance and repository entries to +browse, edit cvsweb.conf* as you like. + + For further information, please look into the directory +`%%DOCSDIR%%'. +************************************************************ diff --git a/devel/cvsweb3/pkg-message b/devel/cvsweb3/pkg-message deleted file mode 100644 index ee9705c7ed50..000000000000 --- a/devel/cvsweb3/pkg-message +++ /dev/null @@ -1,15 +0,0 @@ -************************************************************ -Quickstart: - cd ${PREFIX}/etc/cvsweb - cp cvsweb.conf.dist cvsweb.conf - -and you can browse your CVS repository via web if you set up -your web server correctly. The URL to get to the cvsweb -will be like `http://localhost/cgi-bin/cvsweb.cgi/'. - - To configure its appearance and repository entries to -browse, edit cvsweb.conf* as you like. - - For further information, please look into the directory -`${PREFIX}/share/doc/cvsweb/'. -************************************************************ diff --git a/devel/cvsweb3/pkg-plist b/devel/cvsweb3/pkg-plist index 07dcd4857b00..09882b3b9bfd 100644 --- a/devel/cvsweb3/pkg-plist +++ b/devel/cvsweb3/pkg-plist @@ -4,6 +4,14 @@ etc/cvsweb/cvsweb.conf-openbsd.dist etc/cvsweb/cvsweb.conf-netbsd.dist etc/cvsweb/cvsweb.conf-ruby.dist @dirrm etc/cvsweb +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%PORTDOCS%%%%EXAMPLESDIR%%/cvsweb-httpd.conf +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% %%CGIDIR%%/cvsweb.cgi %%ICONSDIR%%/cvsweb/back.gif %%ICONSDIR%%/cvsweb/binary.gif @@ -18,11 +26,4 @@ etc/cvsweb/cvsweb.conf-ruby.dist @dirrm %%CSSDIR%%/cvsweb share/enscript/hl/lang_cvsweb.st share/enscript/hl/lang_cvsweb_diff.st -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/INSTALL -%%PORTDOCS%%%%DOCSDIR%%/NEWS -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/TODO -%%PORTDOCS%%@dirrm %%DOCSDIR%% -%%PORTDOCS%%%%EXAMPLESDIR%%/cvsweb-httpd.conf -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +@unexec rmdir %D/share/enscript/hl 2>/dev/null || true -- cgit v1.2.3