summaryrefslogblamecommitdiff
path: root/databases/pear-DB/Makefile
blob: a8326a7c6199ca63f0f9b1c33cb8814804781dd0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10







                                                                      

                        
                             
                                                     


























                                                                  
# Ports collection makefile for:  pear-DB
# Date created:			  28 November 2002
# Whom:				  Thierry Thomas (<thierry@pompo.net>)
#
# $FreeBSD$
#

PORTNAME=	DB
PORTVERSION=	1.5.0.r2
PORTEPOCH=	1
CATEGORIES=	databases www
DISTNAME=	${PORTNAME}-${PORTVERSION:S/.r2/RC2/}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	PEAR Database Abstraction Layer

BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
RUN_DEPENDS=	${BUILD_DEPENDS}

.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"

MANIFEST=	DB DB.php tests
DOCS=		IDEAS MAINTAINERS STATUS TESTERS

do-install:
.for FILE in ${MANIFEST}
	@${CP} -Rp ${WRKSRC}/${FILE} ${PEARDIR}
	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/${FILE}
.endfor
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for FILE in ${DOCS}
	@${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${DOCSDIR}
.endfor
	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif

.include <bsd.port.post.mk>