From owner-svn-ports-all@FreeBSD.ORG Sat Oct 18 08:45:56 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DE87DB93; Sat, 18 Oct 2014 08:45:55 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BFF0C336; Sat, 18 Oct 2014 08:45:55 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s9I8jt6G009341; Sat, 18 Oct 2014 08:45:55 GMT (envelope-from riggs@FreeBSD.org) Received: (from riggs@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s9I8jtrI009339; Sat, 18 Oct 2014 08:45:55 GMT (envelope-from riggs@FreeBSD.org) Message-Id: <201410180845.s9I8jtrI009339@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: riggs set sender to riggs@FreeBSD.org using -f From: Thomas Zander Date: Sat, 18 Oct 2014 08:45:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r371099 - head/devel/cvsweb3 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2014 08:45:56 -0000 Author: riggs Date: Sat Oct 18 08:45:54 2014 New Revision: 371099 URL: https://svnweb.freebsd.org/changeset/ports/371099 QAT: https://qat.redports.org/buildarchive/r371099/ Log: - Fix install in case share/apache dir is not created prior to installtion PR: 192943 Submitted by: turutani@scphys.kyoto-u.ac.jp Approved by: maintainer timeout Modified: head/devel/cvsweb3/Makefile head/devel/cvsweb3/pkg-plist Modified: head/devel/cvsweb3/Makefile ============================================================================== --- head/devel/cvsweb3/Makefile Sat Oct 18 08:20:22 2014 (r371098) +++ head/devel/cvsweb3/Makefile Sat Oct 18 08:45:54 2014 (r371099) @@ -47,22 +47,19 @@ TITLE?= My CVS Repository # Specify these directories in relative paths to ${PREFIX}. .if exists(${PREFIX}/www/cgi-bin) -CGIDIR?= www/cgi-bin -ICONSDIR?= www/icons -CSSDIR?= www/data/css +DIRPREFIX= www +.elif exists(${PREFIX}/www/apache24/cgi-bin) +DIRPREFIX= www/apache24 .elif exists(${PREFIX}/www/apache22/cgi-bin) -CGIDIR?= www/apache22/cgi-bin -ICONSDIR?= www/apache22/icons -CSSDIR?= www/apache22/data/css +DIRPREFIX= www/apache22 .elif exists(${PREFIX}/apache/cgi-bin) -CGIDIR?= apache/cgi-bin -ICONSDIR?= apache/icons -CSSDIR?= apache/data/css +DIRPREFIX= apache .else -CGIDIR?= share/apache/cgi-bin -ICONSDIR?= share/apache/icons -CSSDIR?= share/apache/data/css +DIRPREFIX= share/apache .endif +CGIDIR?= ${DIRPREFIX}/cgi-bin +ICONSDIR?= ${DIRPREFIX}/icons +CSSDIR?= ${DIRPREFIX}/data/css CONFFILES= cvsweb.conf \ cvsweb.conf-freebsd \ @@ -70,7 +67,8 @@ CONFFILES= cvsweb.conf \ cvsweb.conf-netbsd \ cvsweb.conf-ruby -PLIST_SUB= CGIDIR="${CGIDIR}" ICONSDIR="${ICONSDIR}" CSSDIR="${CSSDIR}" +PLIST_SUB= CGIDIR="${CGIDIR}" ICONSDIR="${ICONSDIR}" CSSDIR="${CSSDIR}" \ + DIRPREFIX="${DIRPREFIX}" SUB_FILES= pkg-message SUB_LIST= PREFIX="${PREFIX}" DOCSDIR="${DOCSDIR}" Modified: head/devel/cvsweb3/pkg-plist ============================================================================== --- head/devel/cvsweb3/pkg-plist Sat Oct 18 08:20:22 2014 (r371098) +++ head/devel/cvsweb3/pkg-plist Sat Oct 18 08:45:54 2014 (r371099) @@ -3,13 +3,11 @@ etc/cvsweb/cvsweb.conf-freebsd.dist 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%% %%PORTEXAMPLES%%%%EXAMPLESDIR%%/cvsweb-httpd.conf %%CGIDIR%%/cvsweb.cgi %%ICONSDIR%%/cvsweb/back.gif @@ -20,14 +18,8 @@ etc/cvsweb/cvsweb.conf-ruby.dist %%ICONSDIR%%/cvsweb/minigraph.png %%ICONSDIR%%/cvsweb/minitext.gif %%ICONSDIR%%/cvsweb/text.gif -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% -@dirrm %%ICONSDIR%%/cvsweb %%CSSDIR%%/cvsweb/cvsweb.css -@dirrm %%CSSDIR%%/cvsweb share/enscript/hl/lang_cvsweb.st share/enscript/hl/lang_cvsweb_diff.st -@dirrmtry %%CGIDIR%% -@dirrmtry %%CSSDIR%% -@dirrmtry share/apache/data -@dirrmtry %%ICONSDIR%% -@dirrmtry share/apache +@dir %%DIRPREFIX%%/data +@dir %%DIRPREFIX%%