diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/textpattern/Makefile | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/www/textpattern/Makefile b/www/textpattern/Makefile index 7d2536add7f4..4f9605d1f483 100644 --- a/www/textpattern/Makefile +++ b/www/textpattern/Makefile @@ -20,35 +20,7 @@ WWWOWN?= www WWWGRP?= www TEXTPATTERN?= www/${PORTNAME} PLIST_SUB+= TEXTPATTERN=${TEXTPATTERN} -USE_PHP= mbstring xml - -OPTIONS= MYSQL "Use MySQL backend" on \ - PGSQL "Use PostgreSQL backend" off - -.if defined(PHP_VER) && ${PHP_VER} == 5 -OPTIONS+= SQLITE "Use SQLite backend" off -.endif - -PORT_DBDIR?= /var/db/ports -LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX} -OPTIONSFILE?= ${PORT_DBDIR}/${LATEST_LINK}/options - -.if exists(${OPTIONSFILE}) -.include "${OPTIONSFILE}" -.endif - -# Options that default to on: -.if !defined(WITHOUT_MYSQL) || defined(WITH_MYSQL) -USE_PHP+= mysql -.endif - -.if defined(WITH_PGSQL) -USE_PHP+= pgsql -.endif - -.if defined(WITH_SQLITE) -USE_PHP+= sqlite -.endif +USE_PHP= mbstring xml mysql do-install: -${MKDIR} ${PREFIX}/${TEXTPATTERN} |