mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
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).
This commit is contained in:
parent
a673458923
commit
9343dfead6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36130
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= php
|
||||
PORTVERSION= 3.0.16
|
||||
PORTVERSION= 3.0.18
|
||||
CATEGORIES= lang www
|
||||
MASTER_SITES= ftp://ftp.php.net/pub/${PHP_DISTDIR}/ \
|
||||
http://us.php.net/${PHP_DISTDIR}/ \
|
||||
@ -19,7 +19,7 @@ MASTER_SITES= ftp://ftp.php.net/pub/${PHP_DISTDIR}/ \
|
||||
http://www.php.cz/${PHP_DISTDIR}/ \
|
||||
http://php3.globe.de/${PHP_DISTDIR}/
|
||||
|
||||
MAINTAINER= roam@orbitel.bg
|
||||
MAINTAINER= roam@FreeBSD.org
|
||||
|
||||
PHP_DISTDIR= distributions
|
||||
|
||||
@ -37,6 +37,11 @@ SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
|
||||
|
||||
PHPDOCDIR= ${PREFIX}/share/doc/php
|
||||
PLIST_SUB= PHPDOCDIR=${PHPDOCDIR:S/^${PREFIX}\///}
|
||||
.if defined(NOPORTDOCS)
|
||||
PLIST_SUB+= PORTDOCS:="@comment "
|
||||
.else
|
||||
PLIST_SUB+= PORTDOCS:=
|
||||
.endif
|
||||
|
||||
pre-fetch:
|
||||
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php
|
||||
@ -44,11 +49,14 @@ pre-fetch:
|
||||
post-install:
|
||||
@${INSTALL_DATA} ${WRKSRC}/php3.ini-dist ${PREFIX}/etc
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PHPDOCDIR}
|
||||
.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:
|
||||
|
@ -1 +1 @@
|
||||
MD5 (php-3.0.16.tar.gz) = 0dc379181f625c30f635c2cf3080acb1
|
||||
MD5 (php-3.0.18.tar.gz) = b4b8f7f1151ce66d5f3910a066651133
|
||||
|
1758
lang/php/pkg-plist
1758
lang/php/pkg-plist
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user