diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/webcalendar/Makefile | 17 | ||||
-rw-r--r-- | www/webcalendar/pkg-message | 2 |
2 files changed, 11 insertions, 8 deletions
diff --git a/www/webcalendar/Makefile b/www/webcalendar/Makefile index ceaa8a79011d..91207f783393 100644 --- a/www/webcalendar/Makefile +++ b/www/webcalendar/Makefile @@ -15,11 +15,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION} MAINTAINER= glarkin@sourcehosting.net COMMENT= A web-based calendar application -BROKEN= fails to deinstall cleanly -DEPRECATED= ${BROKEN} -EXPIRATION_DATE=2006-12-01 - -USE_PHP= pcre session ldap +USE_PHP= pcre session WANT_PHP_WEB= yes NO_BUILD= yes @@ -41,7 +37,8 @@ OPTIONS= MYSQL "Use MySQL database backend (default)" On \ MSSQL "Use MSSQL database backend" Off \ DBASE "Use DBase database backend" Off \ ODBC "Use ODBC database backend" Off \ - ORACLE "Use Oracle database backend" Off + ORACLE "Use Oracle database backend" Off \ + LDAP "Use LDAP user authentication" Off .include <bsd.port.pre.mk> @@ -78,7 +75,11 @@ DB_DEFINED= yes .endif .if ${DB_DEFINED} == "no" -IGNORE= please, choose database backend running 'make config' +IGNORE= please choose database backend by running 'make config' +.endif + +.if defined(WITH_LDAP) +USE_PHP+= ldap .endif # Fix USE_PHP after bsd.port.pre.mk @@ -91,6 +92,8 @@ pre-install: ${SED} -e 's|^|@dirrm ${WEBWCDIR}/|' >> ${PLIST} \ && ${ECHO_CMD} @dirrm ${WEBWCDIR} >> ${PLIST} @${CAT} pkg-plist >> ${PLIST} + @${ECHO_CMD} @dirrmtry www/data-dist >> ${PLIST} + @${ECHO_CMD} @dirrmtry www/data >> ${PLIST} do-install: @${MKDIR} ${PREFIX}/${WEBWCDIR} diff --git a/www/webcalendar/pkg-message b/www/webcalendar/pkg-message index 22d7c31ab63c..709418e4f0b4 100644 --- a/www/webcalendar/pkg-message +++ b/www/webcalendar/pkg-message @@ -1,7 +1,7 @@ Post-installation instructions: -To make WebCalendar workable, please read +To configure WebCalendar, please read %%DOCSDIR%%/WebCalendar-SysAdmin.html for information about creating the database, installing the database tables and other post-installation tasks, |