diff options
author | dirk <dirk@FreeBSD.org> | 2003-01-30 22:53:17 +0800 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2003-01-30 22:53:17 +0800 |
commit | 5afa4e69ce33fc2a69ef0ee0a6f2e182023d92ce (patch) | |
tree | 005cca486d618baf033cfddb40a1a76ae914189e /www | |
parent | 1ee12b52dbeca25c802a997cd6de226cca1b0d3c (diff) | |
download | freebsd-ports-gnome-5afa4e69ce33fc2a69ef0ee0a6f2e182023d92ce.tar.gz freebsd-ports-gnome-5afa4e69ce33fc2a69ef0ee0a6f2e182023d92ce.tar.zst freebsd-ports-gnome-5afa4e69ce33fc2a69ef0ee0a6f2e182023d92ce.zip |
Remove hooks for lang/php4 (STANDALONE).
Diffstat (limited to 'www')
-rw-r--r-- | www/mod_php4/Makefile | 33 | ||||
-rw-r--r-- | www/mod_php4/pkg-comment.standalone | 1 | ||||
-rw-r--r-- | www/mod_php4/pkg-plist.standalone | 3 | ||||
-rw-r--r-- | www/mod_php5/Makefile | 33 | ||||
-rw-r--r-- | www/mod_php5/pkg-comment.standalone | 1 | ||||
-rw-r--r-- | www/mod_php5/pkg-plist.standalone | 3 |
6 files changed, 12 insertions, 62 deletions
diff --git a/www/mod_php4/Makefile b/www/mod_php4/Makefile index f4518fbc385f..22cdf24d695d 100644 --- a/www/mod_php4/Makefile +++ b/www/mod_php4/Makefile @@ -5,10 +5,10 @@ # $FreeBSD$ # -PORTNAME?= mod_php4 +PORTNAME= mod_php4 PORTVERSION= 4.3.0 -PORTREVISION?= 0 -CATEGORIES?= www +PORTREVISION= 0 +CATEGORIES= www MASTER_SITES= http://us.php.net/${PHP_DISTDIR}/ \ http://php.he.net/${PHP_DISTDIR}/ \ http://www.php3.de/${PHP_DISTDIR}/ \ @@ -22,18 +22,14 @@ DISTNAME= php-${PORTVERSION} MAINTAINER= dirk@FreeBSD.org -.if !defined(STANDALONE) BUILD_DEPENDS= ${APXS}:${APACHE_PORT} RUN_DEPENDS= ${APXS}:${APACHE_PORT} .if defined(WITH_APACHE2) LIB_DEPENDS= pth.14:${PORTSDIR}/devel/pth .endif -.endif PHP_DISTDIR= distributions -SLAVEDIRS= lang/php4 - USE_BZIP2= yes USE_SUBMAKE= yes USE_AUTOCONF_VER=213 @@ -48,14 +44,6 @@ APXS?= ${LOCALBASE}/sbin/apxs IS_INTERACTIVE= yes .endif -.if defined(STANDALONE) -CONFIGURE_ARGS= --with-config-file-path=${PREFIX}/etc/php.standalone \ - --disable-pear \ - --enable-discard-path \ - --with-readline=/usr - -MAKE_ENV= STANDALONE="${STANDALONE}" -.else .if defined(WITH_APACHE2) CONFIGURE_ARGS= --with-apxs2=${PREFIX}/sbin/apxs \ --with-tsrm-pth @@ -66,10 +54,8 @@ CONFIGURE_ARGS= --with-apxs=${PREFIX}/sbin/apxs PLIST_SUB= MOD_DIR=libexec/apache \ NON=non- .endif -CONFIGURE_ARGS+=--with-config-file-path=${PREFIX}/etc -.endif - -CONFIGURE_ARGS+=--enable-versioning \ +CONFIGURE_ARGS+=--with-config-file-path=${PREFIX}/etc \ + --enable-versioning \ --with-regex=system \ --without-gd \ --without-mysql @@ -85,20 +71,14 @@ SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \ pre-fetch: @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php -.if !defined(STANDALONE) && !defined(WITH_APACHE2) +.if !defined(WITH_APACHE2) @${ECHO_CMD} "Define WITH_APACHE2 to build mod_php4 as an apache2 module." @${ECHO_CMD} "" .endif post-install: -.if !defined(STANDALONE) @${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc -.else - @${MKDIR} ${PREFIX}/etc/php.standalone - @${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc/php.standalone -.endif -.if !defined(STANDALONE) @${ECHO_CMD} "*****************************************************************************" @${ECHO_CMD} "Make sure the mime.types are connected to the php module properly and" @${ECHO_CMD} "index.php is part of your DirectoryIndex." @@ -111,7 +91,6 @@ post-install: @${ECHO_CMD} "AddType application/x-httpd-php-source .phps" @${ECHO_CMD} "[...]" @${ECHO_CMD} "*****************************************************************************" -.endif post-clean: @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc diff --git a/www/mod_php4/pkg-comment.standalone b/www/mod_php4/pkg-comment.standalone deleted file mode 100644 index 77073177dd09..000000000000 --- a/www/mod_php4/pkg-comment.standalone +++ /dev/null @@ -1 +0,0 @@ -PHP4 commandline interpreter diff --git a/www/mod_php4/pkg-plist.standalone b/www/mod_php4/pkg-plist.standalone deleted file mode 100644 index 77493bfd1bd2..000000000000 --- a/www/mod_php4/pkg-plist.standalone +++ /dev/null @@ -1,3 +0,0 @@ -bin/php -etc/php.standalone/php.ini-dist -@unexec rmdir %D/etc/php.standalone 2>/dev/null || true diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile index f4518fbc385f..22cdf24d695d 100644 --- a/www/mod_php5/Makefile +++ b/www/mod_php5/Makefile @@ -5,10 +5,10 @@ # $FreeBSD$ # -PORTNAME?= mod_php4 +PORTNAME= mod_php4 PORTVERSION= 4.3.0 -PORTREVISION?= 0 -CATEGORIES?= www +PORTREVISION= 0 +CATEGORIES= www MASTER_SITES= http://us.php.net/${PHP_DISTDIR}/ \ http://php.he.net/${PHP_DISTDIR}/ \ http://www.php3.de/${PHP_DISTDIR}/ \ @@ -22,18 +22,14 @@ DISTNAME= php-${PORTVERSION} MAINTAINER= dirk@FreeBSD.org -.if !defined(STANDALONE) BUILD_DEPENDS= ${APXS}:${APACHE_PORT} RUN_DEPENDS= ${APXS}:${APACHE_PORT} .if defined(WITH_APACHE2) LIB_DEPENDS= pth.14:${PORTSDIR}/devel/pth .endif -.endif PHP_DISTDIR= distributions -SLAVEDIRS= lang/php4 - USE_BZIP2= yes USE_SUBMAKE= yes USE_AUTOCONF_VER=213 @@ -48,14 +44,6 @@ APXS?= ${LOCALBASE}/sbin/apxs IS_INTERACTIVE= yes .endif -.if defined(STANDALONE) -CONFIGURE_ARGS= --with-config-file-path=${PREFIX}/etc/php.standalone \ - --disable-pear \ - --enable-discard-path \ - --with-readline=/usr - -MAKE_ENV= STANDALONE="${STANDALONE}" -.else .if defined(WITH_APACHE2) CONFIGURE_ARGS= --with-apxs2=${PREFIX}/sbin/apxs \ --with-tsrm-pth @@ -66,10 +54,8 @@ CONFIGURE_ARGS= --with-apxs=${PREFIX}/sbin/apxs PLIST_SUB= MOD_DIR=libexec/apache \ NON=non- .endif -CONFIGURE_ARGS+=--with-config-file-path=${PREFIX}/etc -.endif - -CONFIGURE_ARGS+=--enable-versioning \ +CONFIGURE_ARGS+=--with-config-file-path=${PREFIX}/etc \ + --enable-versioning \ --with-regex=system \ --without-gd \ --without-mysql @@ -85,20 +71,14 @@ SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \ pre-fetch: @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php -.if !defined(STANDALONE) && !defined(WITH_APACHE2) +.if !defined(WITH_APACHE2) @${ECHO_CMD} "Define WITH_APACHE2 to build mod_php4 as an apache2 module." @${ECHO_CMD} "" .endif post-install: -.if !defined(STANDALONE) @${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc -.else - @${MKDIR} ${PREFIX}/etc/php.standalone - @${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc/php.standalone -.endif -.if !defined(STANDALONE) @${ECHO_CMD} "*****************************************************************************" @${ECHO_CMD} "Make sure the mime.types are connected to the php module properly and" @${ECHO_CMD} "index.php is part of your DirectoryIndex." @@ -111,7 +91,6 @@ post-install: @${ECHO_CMD} "AddType application/x-httpd-php-source .phps" @${ECHO_CMD} "[...]" @${ECHO_CMD} "*****************************************************************************" -.endif post-clean: @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc diff --git a/www/mod_php5/pkg-comment.standalone b/www/mod_php5/pkg-comment.standalone deleted file mode 100644 index 77073177dd09..000000000000 --- a/www/mod_php5/pkg-comment.standalone +++ /dev/null @@ -1 +0,0 @@ -PHP4 commandline interpreter diff --git a/www/mod_php5/pkg-plist.standalone b/www/mod_php5/pkg-plist.standalone deleted file mode 100644 index 77493bfd1bd2..000000000000 --- a/www/mod_php5/pkg-plist.standalone +++ /dev/null @@ -1,3 +0,0 @@ -bin/php -etc/php.standalone/php.ini-dist -@unexec rmdir %D/etc/php.standalone 2>/dev/null || true |