head	1.7;
access;
symbols;
locks; strict;
comment	@# @;


1.7
date	2001.03.06.12.56.54;	author roam;	state dead;
branches;
next	1.6;

1.6
date	2001.03.04.18.35.42;	author dirk;	state Exp;
branches;
next	1.5;

1.5
date	2001.02.05.15.04.11;	author olgeni;	state Exp;
branches;
next	1.4;

1.4
date	2001.01.28.20.28.16;	author roam;	state Exp;
branches;
next	1.3;

1.3
date	2001.01.17.08.01.32;	author roam;	state Exp;
branches;
next	1.2;

1.2
date	2000.12.19.16.08.17;	author roam;	state Exp;
branches;
next	1.1;

1.1
date	2000.12.19.14.00.02;	author will;	state Exp;
branches;
next	;


desc
@@


1.7
log
@Let this wasted try at duplication of effort die a graceful death -
dirk is doing an excellent job of maintaing his www/mod_php[34] ports,
and now has even done the work necessary to create the slave lang/php[34]
ports (which I myself have promised to do more than once..)

Thanks Dirk!
@
text
@# New ports collection makefile for:	php3
# Date created:		7 Sep 2000
# Whom:			Peter Pentchev <roam@@orbitel.bg>
#
# $FreeBSD: ports/lang/php/Makefile,v 1.6 2001/03/04 18:35:42 dirk Exp $
#

PORTNAME=	php
PORTVERSION=	3.0.18
PORTREVISION=	1
CATEGORIES=	lang www
MASTER_SITES=	ftp://ftp.php.net/pub/${PHP_DISTDIR}/ \
		http://us.php.net/${PHP_DISTDIR}/ \
		http://php.he.net/${PHP_DISTDIR}/ \
		http://www.php3.de/${PHP_DISTDIR}/ \
		http://au.php.net:81/${PHP_DISTDIR}/ \
		http://at.php.net/${PHP_DISTDIR}/ \
		http://br.php.net/${PHP_DISTDIR}/ \
		http://php.easydns.com/${PHP_DISTDIR}/ \
		http://www.php.cz/${PHP_DISTDIR}/ \
		http://php3.globe.de/${PHP_DISTDIR}/

MAINTAINER=	roam@@FreeBSD.org

FORBIDDEN=	"Use lang/php3 instead"

PHP_DISTDIR=	distributions

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--without-apache \
		--with-system-regex \
		--with-config-file-path=${PREFIX}/etc \
		--disable-debug \
		--enable-track-vars \
		--without-gd

SCRIPTS_ENV=	WRKDIRPREFIX="${WRKDIRPREFIX}" \
		TOUCH="${TOUCH}" \
		MKDIR="${MKDIR}"

PHPDOCDIR=	${PREFIX}/share/doc/php
PLIST_SUB=	PHPDOCDIR=${PHPDOCDIR:S/^${PREFIX}\///}

pre-fetch:
	@@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php

post-install:
	@@${INSTALL_DATA} ${WRKSRC}/php3.ini-dist ${PREFIX}/etc

.if	!defined(NOPORTDOCS)
	@@${MKDIR} ${PHPDOCDIR}/html
.for i in CODING_STANDARDS LICENSE
	@@${INSTALL_DATA} ${WRKSRC}/$i ${PHPDOCDIR}
.endfor
	@@for i in ${WRKSRC}/doc/*; do				\
		${INSTALL_DATA} $$i ${PHPDOCDIR}/html/ ;	\
	done
.endif

post-clean:
	@@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc

.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
.endif

.include <bsd.port.mk>
@


1.6
log
@Mark FORBIDDEN, now that we have lang/php3 instead. Awaiting complete
removal.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/php/Makefile,v 1.5 2001/02/05 15:04:11 olgeni Exp $
@


1.5
log
@Some style fixes in the lang category (usual round of spaces -> tabs)
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/php/Makefile,v 1.4 2001/01/28 20:28:16 roam Exp $
d24 2
@


1.4
log
@A bit belated PORTREVISION bump to reflect Dirk Froemberg's switch
to MySQL 3.23, not 3.22 - 3.23 is the officially stable branch now.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/php/Makefile,v 1.3 2001/01/17 08:01:32 roam Exp $
d9 1
a9 1
PORTVERSION= 	3.0.18
@


1.3
log
@sync with bsd.port.mk's PORTDOCS handling
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/php/Makefile,v 1.2 2000/12/19 16:08:17 roam Exp $
d10 1
@


1.2
log
@Update to version 3.0.18.

While I'm here, change maintainer's (mine) email address to @@FreeBSD.org,
and install the HTML documentation bundled with the PHP distribution
(conditionalized on NOPORTDOCS, of course).
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/php/Makefile,v 1.1 2000/12/19 14:00:02 will Exp $
a39 5
.if		defined(NOPORTDOCS)
PLIST_SUB+=	PORTDOCS:="@@comment "
.else
PLIST_SUB+=	PORTDOCS:=
.endif
@


1.1
log
@Add php 3.0.16, a standalone PHP interpreter.

PR:		21094
Submitted by:	roam (oops :-)
@
text
@d5 1
a5 1
# $FreeBSD$
d9 1
a9 1
PORTVERSION= 	3.0.16
d22 1
a22 1
MAINTAINER=	roam@@orbitel.bg
d40 5
d52 2
a53 2
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${PHPDOCDIR}
d57 3
@

