aboutsummaryrefslogtreecommitdiffstats
path: root/databases/pecl-drizzle/Makefile
blob: f06d2bb44f1d0a7f617b777ae1590b87c9856a6b (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
# 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

USE_PHP=    yes
USE_PHPEXT= yes

.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>