FreeBSD Bugzilla – Attachment 72250 Details for
Bug 105053
[maintainer] www/webcalendar: update installation directory and misc. cleanups
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
webcalendar-1.0.4.patch
webcalendar-1.0.4.patch (text/plain), 3.40 KB, created by
Greg Larkin
on 2006-11-01 23:50:19 UTC
(
hide
)
Description:
webcalendar-1.0.4.patch
Filename:
MIME Type:
Creator:
Greg Larkin
Created:
2006-11-01 23:50:19 UTC
Size:
3.40 KB
patch
obsolete
>diff -urN webcalendar.orig/Makefile webcalendar/Makefile >--- webcalendar.orig/Makefile Wed Nov 1 17:59:07 2006 >+++ webcalendar/Makefile Wed Nov 1 18:40:01 2006 >@@ -6,7 +6,8 @@ > # > > PORTNAME= WebCalendar >-DISTVERSION= 1.0.4 >+PORTVERSION= 1.0.4 >+PORTREVISION= 1 > CATEGORIES= www > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= webcalendar >@@ -19,11 +20,15 @@ > WANT_PHP_WEB= yes > NO_BUILD= yes > >-WRKSRC= ${WRKDIR}/WebCalendar-${DISTVERSION} >+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} > >-WEBWCDIR?= www/data/WebCalendar >+WCURL?= ${PORTNAME:L} >+WCDIR?= www/${WCURL} > PLIST= ${WRKDIR}/pkg-plist > >+SUB_FILES= pkg-message >+SUB_LIST= WCURL=${WCURL} WCDIR=${WCDIR} >+ > DOCSDIR?= ${PREFIX}/share/doc/${PORTNAME} > DOCS= docs/README \ > docs/WebCalendar-Database.html \ >@@ -87,26 +92,29 @@ > > pre-install: > cd ${WRKSRC} && ${FIND} -s * -type f | \ >- ${SED} -e 's|^|${WEBWCDIR}/|' > ${PLIST} \ >+ ${SED} -e 's|^|${WCDIR}/|' > ${PLIST} \ > && ${FIND} -d * -type d | \ >- ${SED} -e 's|^|@dirrm ${WEBWCDIR}/|' >> ${PLIST} \ >- && ${ECHO_CMD} @dirrm ${WEBWCDIR} >> ${PLIST} >+ ${SED} -e 's|^|@dirrm ${WCDIR}/|' >> ${PLIST} \ >+ && ${ECHO_CMD} @dirrm ${WCDIR} >> ${PLIST} > @${CAT} pkg-plist >> ${PLIST} > @${ECHO_CMD} @dirrmtry www/data-dist >> ${PLIST} > @${ECHO_CMD} @dirrmtry www/data >> ${PLIST} > > do-install: >- @${MKDIR} ${PREFIX}/${WEBWCDIR} >- ${CP} -R ${WRKSRC}/* ${PREFIX}/${WEBWCDIR} >- ${CHOWN} -R www:www ${PREFIX}/${WEBWCDIR} >- ${FIND} ${PREFIX}/${WEBWCDIR} -type f | ${XARGS} ${CHMOD} 644 >+ @${MKDIR} ${PREFIX}/${WCDIR} >+ ${CP} -R ${WRKSRC}/* ${PREFIX}/${WCDIR} >+ ${CHOWN} -R www:www ${PREFIX}/${WCDIR} >+ ${FIND} ${PREFIX}/${WCDIR} -type f | ${XARGS} ${CHMOD} 644 > > post-install: >+.if !defined(NOPORTDOCS) > @${MKDIR} ${DOCSDIR} > .for i in ${DOCS} > ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} > .endfor >- @${CAT} ${PKGMESSAGE} | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \ >- -e 's|%%WEBWCDIR%%|${WEBWCDIR}|g' -e 's|%%DOCSDIR%%|${DOCSDIR}|g' >+.endif >+ @${CAT} ${PKGMESSAGE} > > .include <bsd.port.post.mk> >diff -urN webcalendar.orig/files/pkg-message.in webcalendar/files/pkg-message.in >--- webcalendar.orig/files/pkg-message.in Wed Dec 31 19:00:00 1969 >+++ webcalendar/files/pkg-message.in Wed Nov 1 18:41:45 2006 >@@ -0,0 +1,18 @@ >+************************************************* >+Post-installation instructions: >+ >+First, Add the following line to your httpd.conf: >+ >+Alias /%%WCURL%%/ "%%PREFIX%%/%%WCDIR%%" >+ >+Next, to configure WebCalendar, please read >+%%DOCSDIR%%/WebCalendar-SysAdmin.html >+for information about creating the database, installing >+the database tables and other post-installation tasks, >+such as setting up email reminders. >+ >+Finally copy >+%%PREFIX%%/%%WCDIR%%/includes/settings.php.orig to >+%%PREFIX%%/%%WCDIR%%/includes/settings.php and edit it >+for your installation. >+************************************************* >diff -urN webcalendar.orig/pkg-message webcalendar/pkg-message >--- webcalendar.orig/pkg-message Wed Nov 1 17:59:07 2006 >+++ webcalendar/pkg-message Wed Dec 31 19:00:00 1969 >@@ -1,13 +0,0 @@ >- >-Post-installation instructions: >- >-To configure WebCalendar, please read >-%%DOCSDIR%%/WebCalendar-SysAdmin.html >-for information about creating the database, installing >-the database tables and other post-installation tasks, >-such as setting up email reminders. >- >-Then copy >-%%PREFIX%%/%%WEBWCDIR%%/includes/settings.php.orig to >-%%PREFIX%%/%%WEBWCDIR%%/includes/settings.php and edit it >-for your installation.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 105053
: 72250