diff options
author | Dirk Froemberg <dirk@FreeBSD.org> | 2003-01-30 14:53:17 +0000 |
---|---|---|
committer | Dirk Froemberg <dirk@FreeBSD.org> | 2003-01-30 14:53:17 +0000 |
commit | f8ee5982e3e11d579403bdca6ec7019d2a0fd8b7 (patch) | |
tree | 01334b4e724ebe710e8f428096e8e56870decc39 /www/mod_php4 | |
parent | Add CYRUS_USER and CYRUS_GROUP options to be able to configure (diff) |
Remove hooks for lang/php4 (STANDALONE).
Notes
Notes:
svn path=/head/; revision=74278
Diffstat (limited to 'www/mod_php4')
-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 |
3 files changed, 6 insertions, 31 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 |