1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/lang/php5/Makefile.pear
Alex Dupre bcb88d4183 Set correct default PHP version.
PR:		ports/74300
Submitted by:	Ryan <majost@lagparty.org>
2004-12-01 10:36:26 +00:00

32 lines
739 B
Makefile

USE_GNOME= libxml2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-layout=GNU \
--disable-cgi \
--disable-all \
--with-pcre-regex=yes \
--enable-xml \
--with-libxml-dir=${LOCALBASE} \
--with-zlib-dir=/usr \
--with-pear
NO_BUILD= yes
INSTALL_TARGET= install-pear
USE_PHP= pcre xml
WANT_PHP_SCR= yes
DEFAULT_PHP_VER=5
BROKEN_WITH_PHP=4
.include <bsd.port.pre.mk>
post-patch:
@${SED} "s|%%PREFIX%%|${PREFIX}|g" \
${WRKSRC}/pear/scripts/pearcmd.php > ${WRKSRC}/pear/scripts/pear
post-install:
@${INSTALL_SCRIPT} ${WRKSRC}/pear/scripts/pear ${PREFIX}/bin
@${SED} "s|\$${LOCALBASE}|${LOCALBASE}|g;s|\$${PREFIX}|${PREFIX}|g" < ${PKGMESSAGE}