freebsd-ports/security/pear-Auth_SASL/Makefile
Edwin Groothuis 773599e235 security/pear-Auth_SASL: fixed installed package
PR:		ports/50036
Submitted by:	Thierry Thomas <thierry@pompo.net>
2003-03-30 02:15:29 +00:00

51 lines
1.1 KiB
Makefile

# Ports collection makefile for: pear-Auth_SASL
# Date created: 2 February 2003
# Whom: Thierry Thomas (<thierry@pompo.net>)
#
# $FreeBSD$
#
PORTNAME= Auth_SASL
PORTVERSION= 1.0.0
PORTREVISION= 1
CATEGORIES= security www
MASTER_SITES= http://pear.php.net/get/
PKGNAMEPREFIX= pear-
EXTRACT_SUFX= .tgz
DIST_SUBDIR= PEAR
MAINTAINER= ports@FreeBSD.org
COMMENT= PEAR abstraction of various SASL mechanism responses
BUILD_DEPENDS= ${PEARDIR}/Auth/Auth.php:${PORTSDIR}/security/pear-Auth
RUN_DEPENDS= ${BUILD_DEPENDS}
NO_BUILD= yes
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/bin/php-config)
PHP_BASE!= ${LOCALBASE}/bin/php-config --prefix
.else
PHP_BASE= ${LOCALBASE}
.endif
PEAR= ${LOCALBASE}/bin/pear
LPHP_LIB= lib/php
PEARDIR= ${PHP_BASE}/${LPHP_LIB}
PLIST_SUB= PEARDIR=${LPHP_LIB}
MANIFEST= SASL.php SASL
do-install:
.for FILE in ${MANIFEST}
@${CP} -Rp ${WRKSRC}/${FILE} ${PEARDIR}/Auth
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Auth/${FILE}
.endfor
@${CHMOD} a-x ${PEARDIR}/Auth/SASL/*
@${CHMOD} a-x ${PEARDIR}/Auth/SASL.php
post-install:
# Register a new package
@${PEAR} install -r -f ${WRKDIR}/package.xml
.include <bsd.port.post.mk>