aboutsummaryrefslogtreecommitdiff
path: root/databases/pecl-drizzle/Makefile
blob: a9111dc544ebadcd43fb51208dc19af9ed11cbbd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# New ports collection makefile for:	pecl-drizzle
# Date created:			30 Apr 2010
# Whom:				Greg Larkin <glarkin@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	drizzle
PORTVERSION=	0.4.2
CATEGORIES=	databases
MASTER_SITES=	http://pecl.php.net/get/
PKGNAMEPREFIX=	pecl-
EXTRACT_SUFX=	.tgz
DIST_SUBDIR=	PECL

MAINTAINER=	glarkin@FreeBSD.org
COMMENT=	A PHP wrapper for the libdrizzle library

LIB_DEPENDS=	drizzle.0:${PORTSDIR}/databases/libdrizzle

LICENSE=	PHP301

USE_PHP=	yes
USE_PHPEXT=	yes
IGNORE_WITH_PHP=4

.if !defined(NOPORTDOCS)
PORTDOCS=	README EXPERIMENTAL ChangeLog CREDITS

post-install::
		@${MKDIR} ${DOCSDIR}
		@cd ${WRKSRC} && ${INSTALL} ${PORTDOCS} ${DOCSDIR}
.else
PORTDOCS=
.endif

.if !defined(NOPORTEXAMPLES)
PORTEXAMPLES=	drizzle.php

post-install::
		@${MKDIR} ${EXAMPLESDIR}
		@cd ${WRKSRC} && ${INSTALL} ${PORTEXAMPLES} ${EXAMPLESDIR}
.else
PORTEXAMPLES=
.endif

.include <bsd.port.mk>