aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-06-22 08:15:02 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-06-22 08:15:02 +0000
commitdfc95d10ab0bfe6effff2569bc27a00855e23ff2 (patch)
tree000052aa78a2e11596632c4712ed612f6df20399 /www
parentfc5bc98d9c038f8f3276ade49dd84c62c1459b40 (diff)
downloadports-dfc95d10ab0bfe6effff2569bc27a00855e23ff2.tar.gz
ports-dfc95d10ab0bfe6effff2569bc27a00855e23ff2.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/webcalendar/Makefile54
-rw-r--r--www/webcalendar/distinfo2
-rw-r--r--www/webcalendar/pkg-descr7
-rw-r--r--www/webcalendar/pkg-message13
-rw-r--r--www/webcalendar/pkg-plist8
6 files changed, 85 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index cd3ab1c4f14c..690d2df2c2f8 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -779,6 +779,7 @@
SUBDIR += web-traceroute
SUBDIR += web2ldap
SUBDIR += webalizer
+ SUBDIR += webcalendar
SUBDIR += webcheck
SUBDIR += webcopy
SUBDIR += webcrawl
diff --git a/www/webcalendar/Makefile b/www/webcalendar/Makefile
new file mode 100644
index 000000000000..d7256c0dd6a6
--- /dev/null
+++ b/www/webcalendar/Makefile
@@ -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>
diff --git a/www/webcalendar/distinfo b/www/webcalendar/distinfo
new file mode 100644
index 000000000000..c5921499cd03
--- /dev/null
+++ b/www/webcalendar/distinfo
@@ -0,0 +1,2 @@
+MD5 (WebCalendar-1.0.0.tar.gz) = 0cbba331c74c0a77552da42f05340fe8
+SIZE (WebCalendar-1.0.0.tar.gz) = 936863
diff --git a/www/webcalendar/pkg-descr b/www/webcalendar/pkg-descr
new file mode 100644
index 000000000000..ca776f6ec05d
--- /dev/null
+++ b/www/webcalendar/pkg-descr
@@ -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
diff --git a/www/webcalendar/pkg-message b/www/webcalendar/pkg-message
new file mode 100644
index 000000000000..c1c180c37740
--- /dev/null
+++ b/www/webcalendar/pkg-message
@@ -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.
+
diff --git a/www/webcalendar/pkg-plist b/www/webcalendar/pkg-plist
new file mode 100644
index 000000000000..73636a9087c5
--- /dev/null
+++ b/www/webcalendar/pkg-plist
@@ -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%%