1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Update to 4.01

Support for Berkeley DB was dropped, so the port now defaults to SQLite.
This commit is contained in:
Tilman Keskinoz 2007-09-27 15:07:11 +00:00
parent 22a6428887
commit 1177f8fa45
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200178
3 changed files with 2023 additions and 1171 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= MT
PORTVERSION= 3.34
PORTREVISION= 1
PORTVERSION= 4.01
CATEGORIES= www
DISTNAME= MT-${PORTVERSION}-en
@ -22,7 +21,9 @@ RUN_DEPENDS= ${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template \
RUN_DEPENDS+= ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \
${SITE_PERL}/SOAP/Lite.pm:${PORTSDIR}/net/p5-SOAP-Lite \
${SITE_PERL}/${PERL_ARCH}/Image/Magick.pm:${PORTSDIR}/graphics/ImageMagick \
${SITE_PERL}/Crypt/DSA.pm:${PORTSDIR}/security/p5-Crypt-DSA
${SITE_PERL}/Crypt/DSA.pm:${PORTSDIR}/security/p5-Crypt-DSA \
${SITE_PERL}/Mail/Sendmail.pm:${PORTSDIR}/mail/p5-Mail-Sendmail \
${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip
.endif
DATADIR= www/data
@ -35,12 +36,10 @@ USE_MYSQL= yes
DB_DIR?= ${PREFIX}/pgsql/data/blog
# Or somewhere defined in $PGDATA
USE_PGSQL= yes
.elif defined(WITH_SQLITE)
.else
DB_DIR?= ${PREFIX}/${CGIDIR}/db
RUN_DEPENDS+=\
${SITE_PERL}/${PERL_ARCH}/DBD/SQLite.pm:${PORTSDIR}/databases/p5-DBD-SQLite
.else
DB_DIR?= ${PREFIX}/${CGIDIR}/db
WITH_DEFAULTDB= yes
.endif
@ -70,7 +69,7 @@ RUN_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
pre-everything::
@${ECHO_CMD} "ATTENTION:"
@${ECHO_CMD} "If you are upgrading from an older version of MT"
@${ECHO_CMD} "please read http://www.sixapart.com/movabletype/docs/${PORTVERSION}/"
@${ECHO_CMD} "please read http://www.movabletype.org/documentation/upgrade/"
@${ECHO_CMD} "BEFORE installing this port"
@${ECHO_CMD} ""
@${ECHO_CMD} "Available switches:"
@ -85,15 +84,11 @@ pre-everything::
.endif
.if !defined(WITH_MYSQL)
@${ECHO_CMD} "WITH_MYSQL"
@${ECHO_CMD} " - Use MySQL instead of Berkeley DB as database backend"
@${ECHO_CMD} " - Use MySQL as database backend"
.endif
.if !defined(WITH_MYSQL)
@${ECHO_CMD} "WITH_POSTGRES"
@${ECHO_CMD} " - Use PostgreSQL instead of Berkeley DB as database backend"
.endif
.if !defined(WITH_SQLITE)
@${ECHO_CMD} "WITH_SQLITE"
@${ECHO_CMD} " - Use SQLite instead of Berkeley DB as database backend"
@${ECHO_CMD} " - Use PostgreSQL as database backend"
.endif
do-install:
@ -115,6 +110,6 @@ do-install:
post-install:
@${ECHO_CMD} ""
@${ECHO_MSG} "Please read the documentation http://www.sixapart.com/movabletype/docs/3.3/"
@${ECHO_MSG} "Please read the documentation http://www.movabletype.org/documentation/"
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
MD5 (MT-3.34-en.tar.gz) = b851987beb517e256a82473119419854
SHA256 (MT-3.34-en.tar.gz) = e797d667a1480c0a8a77f530f091311f4fb0571b69e6d2b0b5b8278f1d0f13fa
SIZE (MT-3.34-en.tar.gz) = 2477119
MD5 (MT-4.01-en.tar.gz) = e06533cc916948987b3b65127f13fee2
SHA256 (MT-4.01-en.tar.gz) = f5bca9cded2230b8fd46378c28b1852d0bd7c435e44341f9b9097fe93573a02f
SIZE (MT-4.01-en.tar.gz) = 4296107

File diff suppressed because it is too large Load Diff