diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2010-02-19 19:50:11 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2010-02-19 19:50:11 +0000 |
commit | a4aac576f95c6a106c8fe7cec7396647feb89c45 (patch) | |
tree | ec8415e68288a047ffef35293b9623bcf780938e /www/MT | |
parent | 8498ce52bc0d5f0f7e091350ce69f396f4fe0d07 (diff) | |
download | ports-a4aac576f95c6a106c8fe7cec7396647feb89c45.tar.gz ports-a4aac576f95c6a106c8fe7cec7396647feb89c45.zip |
Notes
Diffstat (limited to 'www/MT')
-rw-r--r-- | www/MT/Makefile | 19 | ||||
-rw-r--r-- | www/MT/pkg-plist | 1 |
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%% |