blob: 2120f96936ba1a9cc1787d55ba220b506bfcadc6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# New ports collection makefile for: php3
# Date created: 7 Sep 2000
# Whom: Peter Pentchev <roam@orbitel.bg>
#
# $FreeBSD$
#
PORTNAME= php
PORTVERSION= 3.0.18
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
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}\///}
.if defined(NOPORTDOCS)
PLIST_SUB+= PORTDOCS:="@comment "
.else
PLIST_SUB+= PORTDOCS:=
.endif
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>
|