diff options
Diffstat (limited to 'lang/php/Makefile')
-rw-r--r-- | lang/php/Makefile | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/lang/php/Makefile b/lang/php/Makefile new file mode 100644 index 00000000000..51cec349ac9 --- /dev/null +++ b/lang/php/Makefile @@ -0,0 +1,61 @@ +# New ports collection makefile for: php3 +# Date created: 7 Sep 2000 +# Whom: Peter Pentchev <roam@orbitel.bg> +# +# $FreeBSD$ +# + +PORTNAME= php +PORTVERSION= 3.0.16 +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@orbitel.bg + +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} +.for i in CODING_STANDARDS LICENSE + @${INSTALL_DATA} ${WRKSRC}/$i ${PHPDOCDIR} +.endfor +.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> |