mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
4de459350f
PR: 56880 Submitted By: Thierry Thomas <thierry@pompo.net>
40 lines
956 B
Makefile
40 lines
956 B
Makefile
# 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>
|