mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
35a3256787
use Mk/bsd.php.mk. Approved by: nork (mentor/implicitly)
36 lines
812 B
Makefile
36 lines
812 B
Makefile
# New ports collection makefile for: dbg_php4
|
|
# Date created: Sun Jan 26 20:47:49 GMT 2003
|
|
# Whom: Jens Rehsack <rehsack@liwing.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dbg
|
|
PORTVERSION= 2.11.23
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://dd.cron.ru/dbg/dnld/
|
|
PKGNAMEPREFIX= php-
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
|
|
MAINTAINER= rehsack@liwing.de
|
|
COMMENT= Debugger for PHP4
|
|
|
|
USE_PHP= yes
|
|
USE_PHPIZE= yes
|
|
CONFIGURE_ARGS= --enable-dbg=shared --with-dbg-profiler
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
post-build:
|
|
@${SED} "s|%%PREFIX%%|${PREFIX}|g;s|%%PHP_EXT_DIR%%|${PHP_EXT_DIR}|g" \
|
|
${.CURDIR}/pkg-message > ${PKGMESSAGE}
|
|
|
|
do-install:
|
|
@${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/modules/dbg.so \
|
|
${PREFIX}/lib/php/${PHP_EXT_DIR}
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|