aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2007-12-25 17:13:19 +0800
committerbeech <beech@FreeBSD.org>2007-12-25 17:13:19 +0800
commit84632ef5255ed6e5988fce74e3b1451be06c7e4e (patch)
treeb5920fb73c47f2487796a36833ce7d3b76e0a395 /www
parent62fc573f95d4c8971aaeed4c3c36feac6840e0a3 (diff)
downloadfreebsd-ports-gnome-84632ef5255ed6e5988fce74e3b1451be06c7e4e.tar.gz
freebsd-ports-gnome-84632ef5255ed6e5988fce74e3b1451be06c7e4e.tar.zst
freebsd-ports-gnome-84632ef5255ed6e5988fce74e3b1451be06c7e4e.zip
- Update to 3.0.0 (final)
- Makefile tweaks PR: ports/118935 Submitted by: Zhen REN <bg1tpt@gmail.com> (maintainer) Approved by: linimon (mentor)
Diffstat (limited to 'www')
-rw-r--r--www/phpbb-devel/Makefile16
-rw-r--r--www/phpbb-devel/distinfo6
-rw-r--r--www/phpbb-devel/pkg-plist1
-rw-r--r--www/phpbb3/Makefile16
-rw-r--r--www/phpbb3/distinfo6
-rw-r--r--www/phpbb3/pkg-plist1
6 files changed, 26 insertions, 20 deletions
diff --git a/www/phpbb-devel/Makefile b/www/phpbb-devel/Makefile
index 05cd13f842e8..b9b4f48022c9 100644
--- a/www/phpbb-devel/Makefile
+++ b/www/phpbb-devel/Makefile
@@ -6,17 +6,17 @@
#
PORTNAME= phpbb
-PORTVERSION= 3.0r7
+PORTVERSION= 3.0.0
+PORTEPOCH= 1
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= phpbb
+MASTER_SITES= SF
PKGNAMESUFFIX= -devel
-DISTNAME= phpBB-3.0.RC7
+DISTNAME= phpBB-${PORTVERSION}
MAINTAINER= bg1tpt@gmail.com
COMMENT= A PHP-based bulletin board / discussion forum system
-CONFLICTS= phpbb-tw-[0-9]* phpbb-[0-9]*
+CONFLICTS= phpbb-tw-[0-9]* phpbb-[0-9]* phpbb3-[0-9]
USE_BZIP2= yes
@@ -32,7 +32,7 @@ WRKSRC= ${WRKDIR}/phpBB3
NO_BUILD= yes
SUB_FILES= pkg-message
SUB_LIST= PHPBBURL="${PHPBBURL}" \
- PHPBBDIR="${PHPBBDIR}" \
+ PHPBBDIR="${PHPBBDIR}"
PLIST_SUB+= PHPBBDIR=${PHPBBDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
@@ -54,10 +54,12 @@ pre-everything::
.endif
do-install:
- @ ${MKDIR} -m 0775 ${PREFIX}/${PHPBBDIR}
@ cd ${WRKSRC} && ${COPYTREE_SHARE} . ${PREFIX}/${PHPBBDIR} "! -name config.php"
@ [ -f ${PREFIX}/${PHPBBDIR}/config.php ] || ${TOUCH} ${PREFIX}/${PHPBBDIR}/config.php
@ ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PHPBBDIR}
+ @ ${CHMOD} -R 0755 ${PREFIX}/${PHPBBDIR}
+ @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \
+ ${PHPBBDIR:S|^${PREFIX}/|%D/|}' >> ${TMPPLIST}
post-install:
.if !defined(NOPORTDOCS)
diff --git a/www/phpbb-devel/distinfo b/www/phpbb-devel/distinfo
index 86623cffca37..f0d5a386032b 100644
--- a/www/phpbb-devel/distinfo
+++ b/www/phpbb-devel/distinfo
@@ -1,3 +1,3 @@
-MD5 (phpBB-3.0.RC7.tar.bz2) = 1057c97c0d45e1d1c052ec42e3298b8e
-SHA256 (phpBB-3.0.RC7.tar.bz2) = a7f317f4e870a7856146a8d0b47899ea954e289632ea3a23ccefa487cdb71739
-SIZE (phpBB-3.0.RC7.tar.bz2) = 1457736
+MD5 (phpBB-3.0.0.tar.bz2) = 683ef1dc2fe875efa7042bde897ed76e
+SHA256 (phpBB-3.0.0.tar.bz2) = 99914ef86249798a41aaeacc1f03fcdc170893bde482ca8951e17a9db81a34d7
+SIZE (phpBB-3.0.0.tar.bz2) = 1461327
diff --git a/www/phpbb-devel/pkg-plist b/www/phpbb-devel/pkg-plist
index cd6a7cdc20ec..eb0ed0773f50 100644
--- a/www/phpbb-devel/pkg-plist
+++ b/www/phpbb-devel/pkg-plist
@@ -151,6 +151,7 @@
%%PHPBBDIR%%/docs/site_logo.gif
%%PHPBBDIR%%/docs/stylesheet.css
%%PHPBBDIR%%/download/file.php
+%%PHPBBDIR%%/download/index.htm
%%PHPBBDIR%%/faq.php
%%PHPBBDIR%%/files/.htaccess
%%PHPBBDIR%%/files/index.htm
diff --git a/www/phpbb3/Makefile b/www/phpbb3/Makefile
index 05cd13f842e8..b9b4f48022c9 100644
--- a/www/phpbb3/Makefile
+++ b/www/phpbb3/Makefile
@@ -6,17 +6,17 @@
#
PORTNAME= phpbb
-PORTVERSION= 3.0r7
+PORTVERSION= 3.0.0
+PORTEPOCH= 1
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= phpbb
+MASTER_SITES= SF
PKGNAMESUFFIX= -devel
-DISTNAME= phpBB-3.0.RC7
+DISTNAME= phpBB-${PORTVERSION}
MAINTAINER= bg1tpt@gmail.com
COMMENT= A PHP-based bulletin board / discussion forum system
-CONFLICTS= phpbb-tw-[0-9]* phpbb-[0-9]*
+CONFLICTS= phpbb-tw-[0-9]* phpbb-[0-9]* phpbb3-[0-9]
USE_BZIP2= yes
@@ -32,7 +32,7 @@ WRKSRC= ${WRKDIR}/phpBB3
NO_BUILD= yes
SUB_FILES= pkg-message
SUB_LIST= PHPBBURL="${PHPBBURL}" \
- PHPBBDIR="${PHPBBDIR}" \
+ PHPBBDIR="${PHPBBDIR}"
PLIST_SUB+= PHPBBDIR=${PHPBBDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
@@ -54,10 +54,12 @@ pre-everything::
.endif
do-install:
- @ ${MKDIR} -m 0775 ${PREFIX}/${PHPBBDIR}
@ cd ${WRKSRC} && ${COPYTREE_SHARE} . ${PREFIX}/${PHPBBDIR} "! -name config.php"
@ [ -f ${PREFIX}/${PHPBBDIR}/config.php ] || ${TOUCH} ${PREFIX}/${PHPBBDIR}/config.php
@ ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PHPBBDIR}
+ @ ${CHMOD} -R 0755 ${PREFIX}/${PHPBBDIR}
+ @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \
+ ${PHPBBDIR:S|^${PREFIX}/|%D/|}' >> ${TMPPLIST}
post-install:
.if !defined(NOPORTDOCS)
diff --git a/www/phpbb3/distinfo b/www/phpbb3/distinfo
index 86623cffca37..f0d5a386032b 100644
--- a/www/phpbb3/distinfo
+++ b/www/phpbb3/distinfo
@@ -1,3 +1,3 @@
-MD5 (phpBB-3.0.RC7.tar.bz2) = 1057c97c0d45e1d1c052ec42e3298b8e
-SHA256 (phpBB-3.0.RC7.tar.bz2) = a7f317f4e870a7856146a8d0b47899ea954e289632ea3a23ccefa487cdb71739
-SIZE (phpBB-3.0.RC7.tar.bz2) = 1457736
+MD5 (phpBB-3.0.0.tar.bz2) = 683ef1dc2fe875efa7042bde897ed76e
+SHA256 (phpBB-3.0.0.tar.bz2) = 99914ef86249798a41aaeacc1f03fcdc170893bde482ca8951e17a9db81a34d7
+SIZE (phpBB-3.0.0.tar.bz2) = 1461327
diff --git a/www/phpbb3/pkg-plist b/www/phpbb3/pkg-plist
index cd6a7cdc20ec..eb0ed0773f50 100644
--- a/www/phpbb3/pkg-plist
+++ b/www/phpbb3/pkg-plist
@@ -151,6 +151,7 @@
%%PHPBBDIR%%/docs/site_logo.gif
%%PHPBBDIR%%/docs/stylesheet.css
%%PHPBBDIR%%/download/file.php
+%%PHPBBDIR%%/download/index.htm
%%PHPBBDIR%%/faq.php
%%PHPBBDIR%%/files/.htaccess
%%PHPBBDIR%%/files/index.htm