aboutsummaryrefslogtreecommitdiff
path: root/www/textpattern
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-29 16:12:33 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-29 16:12:33 +0000
commite7ec57b377100ce237eb8525732c95004d08fe81 (patch)
tree463f939684bdb636208124b286cd0bf2fe7e3f51 /www/textpattern
parentca88a0170a104b4b60c635bb559d504369594347 (diff)
downloadports-e7ec57b377100ce237eb8525732c95004d08fe81.tar.gz
ports-e7ec57b377100ce237eb8525732c95004d08fe81.zip
Notes
Diffstat (limited to 'www/textpattern')
-rw-r--r--www/textpattern/Makefile30
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}