blob: f2efb7abb32920a5a4029d48b225fef48880011f (
plain)
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
|
# $NetBSD: Makefile,v 1.3 2000/12/17 21:33:55 jlam Exp $
.include "../../www/php4/Makefile.common"
CATEGORIES+= lang
MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://www.php.net/
CONFLICTS+= ap-php-4.0.3pl1
MESSAGE_FILE= ${WRKDIR}/.MESSAGE
BINDIR= ${PREFIX}/bin
CGIDIR= ${PREFIX}/libexec/cgi-bin
LIBDIR= ${PREFIX}/lib
pre-install:
${SED} -e "s,@PREFIX@,${PREFIX},g" \
< ${PKGDIR}/MESSAGE > ${MESSAGE_FILE}
do-install:
${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/php ${BINDIR}
${INSTALL_DATA_DIR} ${CGIDIR}
${RM} -f ${CGIDIR}/php
${LN} -sf ../../bin/php ${CGIDIR}/php
${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/libphp4.la ${LIBDIR}
${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"
|