mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
WebCalendar is a PHP-based online calendar application.
PR: ports/76928 Submitted by: Greg Larkin <glarkin@sourcehosting.net>
This commit is contained in:
parent
fc5bc98d9c
commit
dfc95d10ab
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=137841
@ -779,6 +779,7 @@
|
|||||||
SUBDIR += web-traceroute
|
SUBDIR += web-traceroute
|
||||||
SUBDIR += web2ldap
|
SUBDIR += web2ldap
|
||||||
SUBDIR += webalizer
|
SUBDIR += webalizer
|
||||||
|
SUBDIR += webcalendar
|
||||||
SUBDIR += webcheck
|
SUBDIR += webcheck
|
||||||
SUBDIR += webcopy
|
SUBDIR += webcopy
|
||||||
SUBDIR += webcrawl
|
SUBDIR += webcrawl
|
||||||
|
54
www/webcalendar/Makefile
Normal file
54
www/webcalendar/Makefile
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
# New ports collection makefile for: WebCalendar
|
||||||
|
# Date created: 21 June 2005
|
||||||
|
# Whom: glarkin
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
|
||||||
|
PORTNAME= WebCalendar
|
||||||
|
DISTVERSION= 1.0.0
|
||||||
|
CATEGORIES= www
|
||||||
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
|
MASTER_SITE_SUBDIR= webcalendar
|
||||||
|
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
||||||
|
|
||||||
|
MAINTAINER= glarkin@sourcehosting.net
|
||||||
|
COMMENT= A web-based calendar application
|
||||||
|
|
||||||
|
USE_PHP= yes
|
||||||
|
NO_BUILD= yes
|
||||||
|
WRKSRC= ${WRKDIR}/WebCalendar-${DISTVERSION}
|
||||||
|
|
||||||
|
WEBWCDIR?= www/data/WebCalendar
|
||||||
|
PLIST= ${WRKDIR}/pkg-plist
|
||||||
|
|
||||||
|
DOCSDIR?= ${PREFIX}/share/doc/${PORTNAME}
|
||||||
|
DOCS= docs/README \
|
||||||
|
docs/WebCalendar-Database.html \
|
||||||
|
docs/WebCalendar-DeveloperGuide.html \
|
||||||
|
docs/WebCalendar-Styling.html \
|
||||||
|
docs/WebCalendar-SysAdmin.html \
|
||||||
|
docs/newwin.gif
|
||||||
|
|
||||||
|
pre-install:
|
||||||
|
cd ${WRKSRC} && ${FIND} -s * -type f | \
|
||||||
|
${SED} -e 's|^|${WEBWCDIR}/|' > ${PLIST} \
|
||||||
|
&& ${FIND} -d * -type d | \
|
||||||
|
${SED} -e 's|^|@dirrm ${WEBWCDIR}/|' >> ${PLIST} \
|
||||||
|
&& ${ECHO_CMD} @dirrm ${WEBWCDIR} >> ${PLIST}
|
||||||
|
${CAT} pkg-plist >> ${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
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
${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'
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
2
www/webcalendar/distinfo
Normal file
2
www/webcalendar/distinfo
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
MD5 (WebCalendar-1.0.0.tar.gz) = 0cbba331c74c0a77552da42f05340fe8
|
||||||
|
SIZE (WebCalendar-1.0.0.tar.gz) = 936863
|
7
www/webcalendar/pkg-descr
Normal file
7
www/webcalendar/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
This is a port of the WebCalendar application. WebCalendar is an
|
||||||
|
Open Source web-based calendar/scheduling system written in PHP.
|
||||||
|
WebCalendar has been under development since 2000 and continues
|
||||||
|
to evolve.
|
||||||
|
|
||||||
|
- Greg Larkin
|
||||||
|
glarkin@sourcehosting.net
|
13
www/webcalendar/pkg-message
Normal file
13
www/webcalendar/pkg-message
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
|
||||||
|
Post-installation instructions:
|
||||||
|
|
||||||
|
To make WebCalendar workable, please read
|
||||||
|
%%DOCSDIR%%/WebCalendar-SysAdmin.html
|
||||||
|
for information about creating the database and installing
|
||||||
|
the database tables.
|
||||||
|
|
||||||
|
Then copy
|
||||||
|
%%PREFIX%%/%%WEBWCDIR%%/includes/settings.php.orig to
|
||||||
|
%%PREFIX%%/%%WEBWCDIR%%/includes/settings.php and edit it
|
||||||
|
for your installation.
|
||||||
|
|
8
www/webcalendar/pkg-plist
Normal file
8
www/webcalendar/pkg-plist
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
@comment The full PLIST will be generated in pre-install phase
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/WebCalendar-Database.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/WebCalendar-DeveloperGuide.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/WebCalendar-Styling.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/WebCalendar-SysAdmin.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/newwin.gif
|
||||||
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user