diff options
author | Greg Larkin <glarkin@FreeBSD.org> | 2010-05-05 17:59:33 +0000 |
---|---|---|
committer | Greg Larkin <glarkin@FreeBSD.org> | 2010-05-05 17:59:33 +0000 |
commit | 93e7986449b00c773f1f79e019e2b64b84dfa517 (patch) | |
tree | 73484850b6d1d8704cad2feb85c4b050bb4e5289 /www/webcalendar | |
parent | 628facc3ddbadd15ea83848b5769bb96c23afd75 (diff) |
Notes
Diffstat (limited to 'www/webcalendar')
-rw-r--r-- | www/webcalendar/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/www/webcalendar/Makefile b/www/webcalendar/Makefile index e7e41af922bd..6364951d9d2e 100644 --- a/www/webcalendar/Makefile +++ b/www/webcalendar/Makefile @@ -7,7 +7,7 @@ PORTNAME= WebCalendar PORTVERSION= 1.0.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME:L}%201.0/${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION} @@ -30,13 +30,15 @@ PLIST= ${WRKDIR}/pkg-plist SUB_FILES= pkg-message SUB_LIST= WCURL=${WCURL} WCDIR=${WCDIR} -DOCSDIR= ${PREFIX}/share/doc/${MASTER_SITE_SUBDIR} +.if !defined(NOPORTDOCS) +DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:L} PORTDOCS= README \ WebCalendar-Database.html \ WebCalendar-DeveloperGuide.html \ WebCalendar-Styling.html \ WebCalendar-SysAdmin.html \ newwin.gif +.endif OPTIONS= MYSQL "Use MySQL database backend (default)" On \ PGSQL "Use PostgreSQL database backend" Off \ @@ -89,7 +91,7 @@ USE_PHP+= ldap .endif pre-install: - cd ${WRKSRC} && ${FIND} -s * -type f | \ + @cd ${WRKSRC} && ${FIND} -s * -type f | \ ${SED} -e 's|^|${WCDIR}/|' > ${PLIST} \ && ${FIND} -d * -type d | \ ${SED} -e 's|^|@dirrm ${WCDIR}/|' >> ${PLIST} \ |