aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/simplog/Makefile12
-rw-r--r--www/simplog/distinfo3
-rw-r--r--www/simplog/pkg-plist3
3 files changed, 12 insertions, 6 deletions
diff --git a/www/simplog/Makefile b/www/simplog/Makefile
index da81482a8375..988bd1977d85 100644
--- a/www/simplog/Makefile
+++ b/www/simplog/Makefile
@@ -6,10 +6,12 @@
#
PORTNAME= simplog
-PORTVERSION= 0.9.3.2
+PORTVERSION= 0.9.3.4
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF:src \
+ http://www.simplog.org/dl/:update
+DISTFILES= ${PORTNAME}-0.9.3.2.tar.gz:src \
+ ${PORTNAME}_update_only-${PORTVERSION}.tar.gz:update
MAINTAINER= ports@FreeBSD.org
COMMENT= A complete and powerful blogging tool
@@ -23,8 +25,7 @@ do-install:
@${ECHO} ""
@${ECHO} "===> Installing simplog"
@${MKDIR} ${DATADIR}
- cd ${WRKSRC} && ${CP} -R adodb doc images install templates * \
- ${DATADIR}
+ cd ${WRKSRC} && ${CP} -r * ${DATADIR}
post-install:
@${ECHO} ""
@@ -33,5 +34,6 @@ post-install:
README in ${DATADIR} first."
@${ECHO} "For more informations, documentation is available at\
${DATADIR}/doc/index.php."
+ @${ECHO} ""
.include <bsd.port.mk>
diff --git a/www/simplog/distinfo b/www/simplog/distinfo
index d4ee330947d9..e13cc124eabc 100644
--- a/www/simplog/distinfo
+++ b/www/simplog/distinfo
@@ -1,3 +1,6 @@
MD5 (simplog-0.9.3.2.tar.gz) = 9f20cb99e1b193856f296cdf0d37f340
SHA256 (simplog-0.9.3.2.tar.gz) = 7bdc498acbc6fcd1bcdf65cc9f9a8629f236d23b45f27fef8a3c8815bd020ad5
SIZE (simplog-0.9.3.2.tar.gz) = 676589
+MD5 (simplog_update_only-0.9.3.4.tar.gz) = 3e75e8ec93b23c19985c87b7c729aa95
+SHA256 (simplog_update_only-0.9.3.4.tar.gz) = a3484ead9c1ad5e5074fef3c51553651c41016e60f7a0ca1c8467aabff4f67f8
+SIZE (simplog_update_only-0.9.3.4.tar.gz) = 1326
diff --git a/www/simplog/pkg-plist b/www/simplog/pkg-plist
index a5921ef83523..79b9d7dda474 100644
--- a/www/simplog/pkg-plist
+++ b/www/simplog/pkg-plist
@@ -334,6 +334,8 @@
%%DATADIR%%/simplog.js
%%DATADIR%%/simplog.css
%%DATADIR%%/rss2.php
+@exec [ -e %D/%%DATADIR%%/cache ] || mkdir -p %D/%%DATADIR%%/cache
+@unexec [ -e %D/%%DATADIR%%/cache ] && rm -rf %D/%%DATADIR%%/cache
@dirrm %%DATADIR%%/adodb/tests
@dirrm %%DATADIR%%/adodb/session/old
@dirrm %%DATADIR%%/adodb/session
@@ -352,7 +354,6 @@
@dirrm %%DATADIR%%/images/smile
@dirrm %%DATADIR%%/images
@dirrm %%DATADIR%%/doc
-@dirrm %%DATADIR%%/cache
@dirrm %%DATADIR%%/install
@dirrm %%DATADIR%%/templates/images
@dirrm %%DATADIR%%/templates