summaryrefslogtreecommitdiff
path: root/www/MT/Makefile
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2010-02-19 19:50:11 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2010-02-19 19:50:11 +0000
commita4aac576f95c6a106c8fe7cec7396647feb89c45 (patch)
treeec8415e68288a047ffef35293b9623bcf780938e /www/MT/Makefile
parentAdd japanese/font-takao: (diff)
Fix pkg-plist
Reported by: QAT/pointyhat Desupport PostgreSQL, it is no longer supported. Reported by: Cheasy <christoph.sold@googlemail.com> Bump PORTREVISION. Feature safe: yes
Notes
Notes: svn path=/head/; revision=250074
Diffstat (limited to '')
-rw-r--r--www/MT/Makefile19
1 files changed, 6 insertions, 13 deletions
diff --git a/www/MT/Makefile b/www/MT/Makefile
index a3c61ef0a8ec..a141fdf9048e 100644
--- a/www/MT/Makefile
+++ b/www/MT/Makefile
@@ -7,6 +7,7 @@
PORTNAME= MT
PORTVERSION= 5.01
+PORTREVISION= 1
CATEGORIES?= www
MASTER_SITES= http://www.movabletype.org/downloads/stable/
DISTNAME?= MTOS-${PORTVERSION}-en
@@ -22,7 +23,6 @@ RUN_DEPENDS= ${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template \
OPTIONS= APACHE "USE_APACHE" off\
MYSQL "USE_MYSQL" off\
- POSTGRES "USE_POSTGRES" off\
OPTIONAL_MODULES "OPTIONAL_MODULES" on
.include <bsd.port.options.mk>
@@ -44,10 +44,6 @@ CGIDIR= www/cgi-bin/mt
.if defined(WITH_MYSQL)
DB_DIR?= /var/db/mysql/blog
USE_MYSQL= yes
-.elif defined(WITH_POSTGRES)
-DB_DIR?= ${PREFIX}/pgsql/data/blog
-# Or somewhere defined in $PGDATA
-USE_PGSQL= yes
.else
DB_DIR?= ${PREFIX}/${CGIDIR}/db
RUN_DEPENDS+=\
@@ -79,6 +75,11 @@ PLIST_SUB+= LANG_EN="" \
.include <bsd.port.pre.mk>
+.if defined(WITH_APACHE)
+PLIST_FILES+= "@dirrmtry ${APACHEETCDIR}/Includes"
+PLIST_FILES+= "@dirrmtry ${APACHEETCDIR}"
+.endif
+
.if !defined(WITHOUT_OPTIONAL_MODULES)
.if ${PERL_LEVEL} < 500800
RUN_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
@@ -110,14 +111,6 @@ pre-everything::
@${ECHO_CMD} "WITH_MYSQL"
@${ECHO_CMD} " - Use MySQL as database backend"
.endif
-.if !defined(WITH_POSTGRES)
- @${ECHO_CMD} "WITH_POSTGRES"
- @${ECHO_CMD} " - Use PostgreSQL as database backend"
-.endif
-.if defined(WITH_APACHE)
-PLIST_FILES+= "@dirrmtry ${APACHEETCDIR}/Includes"
-PLIST_FILES+= "@dirrmtry ${APACHEETCDIR}"
-.endif
do-install:
@cd ${WRKSRC} && ${FIND} * -name "*.orig" -delete