2002-05-31 15:25:01 +00:00
|
|
|
# New ports collection makefile for: php-dyn
|
|
|
|
# Date created: Wed May 22 14:27:22 CET 2002
|
|
|
|
# Whom: Alex Dupre <sysadmin@alexdupre.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= php-dyn
|
2003-04-02 12:06:03 +00:00
|
|
|
PORTVERSION= 1.2.1
|
2002-05-31 15:25:01 +00:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
DISTNAME= php_dyn-${PORTVERSION}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2004-01-18 10:50:15 +00:00
|
|
|
MAINTAINER= ale@FreeBSD.org
|
2003-02-21 14:08:24 +00:00
|
|
|
COMMENT= A PHP Extension to help debugging a PHP script
|
2002-05-31 15:25:01 +00:00
|
|
|
|
2003-06-06 19:08:16 +00:00
|
|
|
USE_PHPIZE= yes
|
|
|
|
WITH_PHP_MOD= yes
|
2002-05-31 15:25:01 +00:00
|
|
|
|
2003-06-06 19:08:16 +00:00
|
|
|
CONFIGURE_ARGS= --enable-php_dyn=shared
|
2003-04-02 12:06:03 +00:00
|
|
|
|
2002-05-31 15:25:01 +00:00
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
|
2003-04-02 12:06:03 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
2003-06-06 19:08:16 +00:00
|
|
|
.include "${.CURDIR}/../../lang/php4/bsd.php.mk"
|
2002-05-31 15:25:01 +00:00
|
|
|
|
|
|
|
post-build:
|
2003-06-06 19:08:16 +00:00
|
|
|
@${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g;s|%%PREFIX%%|${PREFIX}|g;s|%%PHP_EXT_DIR%%|${PHP_EXT_DIR}|g" \
|
2002-05-31 15:25:01 +00:00
|
|
|
${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
|
|
|
|
|
|
|
|
do-install:
|
2003-06-06 19:08:16 +00:00
|
|
|
@${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}
|
2002-05-31 15:25:01 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/modules/php_dyn.so \
|
2003-06-06 19:08:16 +00:00
|
|
|
${PREFIX}/lib/php/${PHP_EXT_DIR}
|
2002-05-31 15:25:01 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README.en ${DOCSDIR}/README
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2003-04-02 12:06:03 +00:00
|
|
|
.include <bsd.port.post.mk>
|