diff options
author | glarkin <glarkin@FreeBSD.org> | 2010-05-06 01:59:33 +0800 |
---|---|---|
committer | glarkin <glarkin@FreeBSD.org> | 2010-05-06 01:59:33 +0800 |
commit | b3a7f1d5c84ccc99c1a1f9618911ebb46f458e60 (patch) | |
tree | ff8fbd9243cb12479834c32d7f46c310e2b999a5 /www/webcalendar | |
parent | 253bdcf8a9354fc17ff2ff96f08feaaca1515c83 (diff) | |
download | freebsd-ports-gnome-b3a7f1d5c84ccc99c1a1f9618911ebb46f458e60.tar.gz freebsd-ports-gnome-b3a7f1d5c84ccc99c1a1f9618911ebb46f458e60.tar.zst freebsd-ports-gnome-b3a7f1d5c84ccc99c1a1f9618911ebb46f458e60.zip |
- Fixed DOCSDIR definition after another Makefile variable was removed.
- Bumped PORTREVISION
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} \ |