Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2006 13:58:18 -0200 (BRDT)
From:      Renato Botelho <garga@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/92553: [PATCH] deskutils/phpicalendar: Show all files that are installed
Message-ID:  <200601301558.k0UFwIL8018325@data.galle.com.br>
Resent-Message-ID: <200601301600.k0UG0EuB066707@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         92553
>Category:       ports
>Synopsis:       [PATCH] deskutils/phpicalendar: Show all files that are installed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 30 16:00:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Renato Botelho
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD data.galle.com.br 6.0-STABLE FreeBSD 6.0-STABLE #6: Fri Nov  4 15:09:42 BRDT
>Description:
- Show all files that are installed adding -v to ${CP}
- Move pkg-message to files/pkg-message.in and add it to SUB_FILES to
  show ${PREFIX}

Added file(s):
- files/pkg-message.in

Removed file(s):
- pkg-message

Port maintainer (edwin@mavetju.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- phpicalendar-2.1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/deskutils/phpicalendar/Makefile,v
retrieving revision 1.5
diff -u -u -r1.5 Makefile
--- Makefile	30 Jan 2006 15:34:51 -0000	1.5
+++ Makefile	30 Jan 2006 15:56:32 -0000
@@ -19,23 +19,24 @@
 PHPICALENDAR=	www/phpicalendar
 WWWDIR=		${PREFIX}/${PHPICALENDAR}
 PLIST_SUB+=	PHPICALENDAR=${PHPICALENDAR}
+SUB_FILES=	pkg-message
 
 do-install:
 .if !exists(${WWWDIR})
 	${MKDIR} ${WWWDIR}
 .endif
 .for dir in admin calendars functions images includes languages rss templates
-	@${CP} -R ${WRKSRC}/${dir} ${WWWDIR}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/${dir}
+	@${CP} -Rv ${WRKSRC}/${dir} ${WWWDIR}
+	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/${dir}
 .endfor
 .for f in index.php TIMEZONES error.php day.php preferences.php print.php search.php week.php month.php year.php README COPYING AUTHORS
-	@${CP} ${WRKSRC}/${f} ${WWWDIR}
-	@${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/${f}
+	@${CP} -v ${WRKSRC}/${f} ${WWWDIR}
+	${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/${f}
 .endfor
-	@${CP} ${WRKSRC}/config.inc.php ${WWWDIR}/config.inc.php-default
-	@${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/config.inc.php-default
+	@${CP} -v ${WRKSRC}/config.inc.php ${WWWDIR}/config.inc.php-default
+	${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/config.inc.php-default
 
 post-install:
-	${CAT} ${PKGMESSAGE}
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message	3 Apr 2004 06:24:04 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,4 +0,0 @@
-PHPiCalendar post-install instructions
---------------------------------------
-Go to %%PREFIX%%/www/phpicalendar and copy
-config.inc.php-default to config.inc.php.
Index: files/pkg-message.in
===================================================================
RCS file: files/pkg-message.in
diff -N files/pkg-message.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/pkg-message.in	30 Jan 2006 15:56:32 -0000
@@ -0,0 +1,6 @@
+
+PHPiCalendar post-install instructions
+--------------------------------------
+Go to %%PREFIX%%/www/phpicalendar and copy
+config.inc.php-default to config.inc.php.
+
--- phpicalendar-2.1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601301558.k0UFwIL8018325>