aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-02-11 01:22:19 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-02-11 01:22:19 +0000
commit2a0da3350897ea8ffe7661579df48d5c72af2562 (patch)
tree1c838d3a4b92f4ec157437dac13c51eb6abe34b8 /deskutils
parent3578820dc1c62082046b91bdffa634d31d6677b7 (diff)
downloadports-2a0da3350897ea8ffe7661579df48d5c72af2562.tar.gz
ports-2a0da3350897ea8ffe7661579df48d5c72af2562.zip
Notes
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/phpicalendar/Makefile21
-rw-r--r--deskutils/phpicalendar/distinfo6
-rw-r--r--deskutils/phpicalendar/files/pkg-message.in4
3 files changed, 20 insertions, 11 deletions
diff --git a/deskutils/phpicalendar/Makefile b/deskutils/phpicalendar/Makefile
index 065db7df1825..9548e16bea8e 100644
--- a/deskutils/phpicalendar/Makefile
+++ b/deskutils/phpicalendar/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= phpicalendar
-PORTVERSION= 2.1
+PORTVERSION= 2.21
CATEGORIES= deskutils www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -19,23 +19,28 @@ NO_BUILD= yes
PHPICALENDAR= www/phpicalendar
WWWDIR= ${PREFIX}/${PHPICALENDAR}
PLIST_SUB+= PHPICALENDAR=${PHPICALENDAR}
+USE_PHP= yes
+NO_WORKSUBDIR= yes
+SUB_FILES= pkg-message
+SUB_LIST= WWWDIR=${WWWDIR}
+PKGMESSAGE= ${WRKDIR}/pkg-message
do-install:
.if !exists(${WWWDIR})
${MKDIR} ${WWWDIR}
.endif
.for dir in admin calendars functions images includes languages rss templates
- @${CP} -R ${WRKSRC}/${dir} ${WWWDIR}
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/${dir}
+ @${CP} -Rv ${WRKDIR}/${dir} ${WWWDIR}
+ ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/${dir}
.endfor
.for f in index.php TIMEZONES error.php day.php preferences.php print.php search.php week.php month.php year.php README COPYING AUTHORS
- @${CP} ${WRKSRC}/${f} ${WWWDIR}
- @${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/${f}
+ @${CP} -v ${WRKDIR}/${f} ${WWWDIR}
+ ${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/${f}
.endfor
- @${CP} ${WRKSRC}/config.inc.php ${WWWDIR}/config.inc.php-default
- @${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/config.inc.php-default
+ @${CP} -v ${WRKDIR}/config.inc.php ${WWWDIR}/config.inc.php-default
+ ${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/config.inc.php-default
post-install:
- ${CAT} ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/deskutils/phpicalendar/distinfo b/deskutils/phpicalendar/distinfo
index 299f1d99815b..e5811ea29663 100644
--- a/deskutils/phpicalendar/distinfo
+++ b/deskutils/phpicalendar/distinfo
@@ -1,3 +1,3 @@
-MD5 (phpicalendar-2.1.tgz) = c0b3fb13136f53ce60a53b3781a2d895
-SHA256 (phpicalendar-2.1.tgz) = 3ca96aac0491f26f607f15cd869836adddfc22e1e4e9b388a1ff2bbba7371167
-SIZE (phpicalendar-2.1.tgz) = 146748
+MD5 (phpicalendar-2.21.tgz) = 297e3a869f53bc0aa62653ed4d3b495d
+SHA256 (phpicalendar-2.21.tgz) = 45e8bc8417762eb7779877a7abc4f7afe9e12a9f51b304f9c02dfdfaecd9add5
+SIZE (phpicalendar-2.21.tgz) = 149004
diff --git a/deskutils/phpicalendar/files/pkg-message.in b/deskutils/phpicalendar/files/pkg-message.in
new file mode 100644
index 000000000000..cd7250bdc7c6
--- /dev/null
+++ b/deskutils/phpicalendar/files/pkg-message.in
@@ -0,0 +1,4 @@
+PHPiCalendar post-install instructions
+--------------------------------------
+Go to %%WWWDIR%%/www/phpicalendar and copy
+config.inc.php-default to config.inc.php.