aboutsummaryrefslogtreecommitdiffstats
path: root/www/MT
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2010-02-20 03:50:11 +0800
committerarved <arved@FreeBSD.org>2010-02-20 03:50:11 +0800
commit275e1a0d696b46746f9d6c7ee3ecf0c2335ce6a9 (patch)
tree199226373b19e045befc37d9828dc5d79c1b8548 /www/MT
parent5c80137b2d4103ab72483653609ccea21e8d1843 (diff)
downloadfreebsd-ports-gnome-275e1a0d696b46746f9d6c7ee3ecf0c2335ce6a9.tar.gz
freebsd-ports-gnome-275e1a0d696b46746f9d6c7ee3ecf0c2335ce6a9.tar.zst
freebsd-ports-gnome-275e1a0d696b46746f9d6c7ee3ecf0c2335ce6a9.zip
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
Diffstat (limited to 'www/MT')
-rw-r--r--www/MT/Makefile19
-rw-r--r--www/MT/pkg-plist1
2 files changed, 7 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
diff --git a/www/MT/pkg-plist b/www/MT/pkg-plist
index c9129ccf2a6f..70c087baf038 100644
--- a/www/MT/pkg-plist
+++ b/www/MT/pkg-plist
@@ -2935,4 +2935,5 @@
@dirrm %%CGIDIR%%/alt-tmpl
@dirrmtry %%CGIDIR%%/db
@dirrmtry %%CGIDIR%%
+@dirrmtry www/cgi-bin
@dirrmtry %%DATADIR%%