freebsd-ports/net/pear-Net_Socket/Makefile
SADA Kenji 050dd1b103 Resurrection of port devel/pear
PR:	ports/44473
Submitted by:	Thierry Thomas <thierry@pompo.net>
2002-11-17 05:03:54 +00:00

36 lines
825 B
Makefile

# Ports collection makefile for: pear-Net_Socket
# Date created: 24 October 2002
# Whom: Thierry Thomas (<thierry@pompo.net>)
#
# $FreeBSD$
#
PORTNAME= Net_Socket
PORTVERSION= 1.0.1
CATEGORIES= net www
MASTER_SITES= http://pear.php.net/get/
PKGNAMEPREFIX= pear-
EXTRACT_SUFX= .tgz
DIST_SUBDIR= PEAR
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ${PEARDIR}.DIST_PHP:${PORTSDIR}/devel/pear-install
RUN_DEPENDS= ${PEARDIR}.DIST_PHP:${PORTSDIR}/devel/pear-install
NO_BUILD= yes
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/bin/php-config)
PHP_BASE!= ${LOCALBASE}/bin/php-config --prefix
.endif
LPHP_LIB= lib/php
PEARDIR= ${PHP_BASE}/${LPHP_LIB}
PLIST_SUB= PEARDIR=${LPHP_LIB}
do-install:
@${CP} -Rp ${WRKSRC}/* ${PEARDIR}/Net
@${CHOWN} -R root:wheel ${PEARDIR}/Net/Socket.php
.include <bsd.port.post.mk>