freebsd-ports/databases/pecl-drizzle/Makefile
2015-02-25 11:22:40 +00:00

34 lines
770 B
Makefile

# Created by: Greg Larkin <glarkin@FreeBSD.org>
# $FreeBSD$
PORTNAME= drizzle
PORTVERSION= 0.4.2
CATEGORIES= databases
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
DIST_SUBDIR= PECL
MAINTAINER= ports@FreeBSD.org
COMMENT= PHP wrapper for the libdrizzle library
LICENSE= PHP301
LIB_DEPENDS= libdrizzle.so:${PORTSDIR}/databases/libdrizzle
USES= tar:tgz
USE_PHP= yes
USE_PHPEXT= yes
IGNORE_WITH_PHP=5 56
OPTIONS_DEFINE= DOCS EXAMPLES
PORTDOCS= README EXPERIMENTAL ChangeLog CREDITS
PORTEXAMPLES= drizzle.php
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@cd ${WRKSRC} && ${INSTALL} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@cd ${WRKSRC} && ${INSTALL} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>