aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/ismail/Makefile11
-rw-r--r--www/ismail/distinfo6
-rw-r--r--www/ismail/files/install.sh4
3 files changed, 11 insertions, 10 deletions
diff --git a/www/ismail/Makefile b/www/ismail/Makefile
index 68a736e41a6a..b46def940dc8 100644
--- a/www/ismail/Makefile
+++ b/www/ismail/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= ismail
-PORTVERSION= 2.0.p4
+PORTVERSION= 2.0
CATEGORIES= www mail
-MASTER_SITES= ftp://ftp.verbotenplanet.net/ISMail/
-DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p/pre/}
+MASTER_SITES= ftp://ftp.insidesystems.net/ISMail/
+DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= kelley@insidesystems.net
COMMENT= PHP-based webmail client
@@ -34,8 +34,9 @@ PORT_EXAMPLES= mysql4.schema pgsql.schema
LIB_DEPENDS+= c-client4.8:${PORTSDIR}/mail/cclient
-SED_SCRIPT= -e 's,%%INSTALL_DATA%%,${INSTALL_DATA},g' \
+SED_SCRIPT= -e 's,%%INSTALL_SCRIPT%%,${INSTALL_SCRIPT},g' \
-e 's,%%MKDIR%%,${MKDIR},g' \
+ -e 's,%%CHOWN%%,${CHOWN},g' \
-e 's,%%WRKSRC%%,${WRKSRC},g' \
-e 's,%%ISMAILDIR%%,${ISMAILDIR},g' \
-e 's,%%DOCSDIR%%,${DOCSDIR},g' \
@@ -69,7 +70,7 @@ pre-install:
do-install:
${SH} ${WRKDIR}/install.sh
- ${CHMOD} -R 644 ${INSTALLDIR}
+ ${CHOWN} -R www:www ${INSTALLDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for docfile in ${PORTDOC_FILES}
diff --git a/www/ismail/distinfo b/www/ismail/distinfo
index b2f07f13be7d..028951341338 100644
--- a/www/ismail/distinfo
+++ b/www/ismail/distinfo
@@ -1,3 +1,3 @@
-MD5 (ismail-2.0pre4.tar.bz2) = 6896aa031c3f2bf21ee88be8d1e9cc39
-SHA256 (ismail-2.0pre4.tar.bz2) = d8800dd6121fc1798bcc8f1a3638fe8f9b5e91f36cb7a1dc2136da23209f496b
-SIZE (ismail-2.0pre4.tar.bz2) = 135465
+MD5 (ismail-2.0.tar.bz2) = 906c39d9251dab161ba4e086f1ea4e28
+SHA256 (ismail-2.0.tar.bz2) = 742b9564cab4a8dbbeef64a7a6f3ae15d359c32c58fc0900b8c6982146476271
+SIZE (ismail-2.0.tar.bz2) = 129644
diff --git a/www/ismail/files/install.sh b/www/ismail/files/install.sh
index ee5c2f6422d8..7a9286a9a6a8 100644
--- a/www/ismail/files/install.sh
+++ b/www/ismail/files/install.sh
@@ -10,8 +10,8 @@
# Install the required files
for file in `cat pkg-plist | grep -v @ | grep ISMAILDIR | sed 's,%%[A-Z]*%%,,g'`; do
dir=`echo "${file}" | sed 's,/[^/]*$,/,g'`
- if [ -d %%WRKSRC%%/ISMail/${dir} ]; then
+ if [ -d %%WRKSRC%%/ismail/${dir} ]; then
%%MKDIR%% %%INSTALLDIR%%/${dir}
fi
- %%INSTALL_DATA%% %%WRKSRC%%/ISMail/${file} %%INSTALLDIR%%/${file}
+ %%INSTALL_SCRIPT%% %%WRKSRC%%/ismail/${file} %%INSTALLDIR%%/${file}
done