diff options
author | jlam <jlam> | 2000-12-17 09:19:32 +0000 |
---|---|---|
committer | jlam <jlam> | 2000-12-17 09:19:32 +0000 |
commit | 8e3d0e661a2cee7c39b5c9900e55ca3ed9fe4679 (patch) | |
tree | e8a5fdba8dbe219d986cded38fe20b79f23b8b7a /www/php4/Makefile | |
parent | f8f5c5955e22c1fe91d09853eeac3b72aa556dd6 (diff) | |
download | pkgsrc-8e3d0e661a2cee7c39b5c9900e55ca3ed9fe4679.tar.gz |
Create a php4 package upon which both HTTP/PHP4 servers and PHP4 extension
modules depend. Move most of the guts of the ap-php4 package into this
one.
Diffstat (limited to 'www/php4/Makefile')
-rw-r--r-- | www/php4/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/www/php4/Makefile b/www/php4/Makefile new file mode 100644 index 00000000000..806ad800868 --- /dev/null +++ b/www/php4/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 09:19:32 jlam Exp $ + +.include "../../www/php4/Makefile.common" + +CATEGORIES+= www lang + +MAINTAINER= jlam@netbsd.org +HOMEPAGE= http://www.php.net/ + +CONFLICTS+= ap-php-4.0.3pl1 + +EXTRACT_ELEMENTS= ${DISTNAME}/php.ini-dist +EXTRACT_ELEMENTS+= ${DISTNAME}/php.ini-optimized +EXTRACT_ELEMENTS+= ${DISTNAME}/php4.gif + +MESSAGE_FILE= ${WRKDIR}/.MESSAGE + +# This package only installs some PHP4-related files, and doesn't require +# any of these steps. +# +NO_PATCH= # defined +NO_CONFIGURE= # defined +NO_BUILD= # defined + +pre-install: + ${SED} -e "s,@PREFIX@,${PREFIX},g" \ + < ${PKGDIR}/MESSAGE > ${MESSAGE_FILE} + +do-install: + ${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc + ${INSTALL_DATA} ${WRKSRC}/php.ini-optimized ${PREFIX}/etc + ${INSTALL_DATA_DIR} ${PREFIX}/share/php4 + ${INSTALL_DATA} ${WRKSRC}/php4.gif ${PREFIX}/share/php4 + +.include "../../mk/bsd.pkg.mk" |