freebsd-ports/www/tivoka/Makefile

38 lines
763 B
Makefile
Raw Normal View History

# Created by: gahr
# $FreeBSD$
PORTNAME= tivoka
PORTVERSION= 3.5.2
CATEGORIES= www
2014-12-10 23:29:14 +01:00
MAINTAINER= ports@FreeBSD.org
COMMENT= JSON-RPC client/server library for PHP
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
2014-02-14 12:30:25 +01:00
OPTIONS_DEFINE= EXAMPLES
USES= php
USE_PHP= json filter
NO_BUILD= yes
USE_GITHUB= yes
GH_ACCOUNT= marcelklehr
LIBDIR= ${PREFIX}/lib/php/${PHP_EXT_DIR}/${PORTNAME}
PLIST_SUB+= LIBDIR=${LIBDIR:S/${PREFIX}\///}
2014-02-14 12:30:25 +01:00
PORTEXAMPLES= *
do-install:
2014-02-14 12:30:25 +01:00
@${MKDIR} ${STAGEDIR}${LIBDIR}
${INSTALL_DATA} ${WRKSRC}/include.php ${STAGEDIR}${LIBDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} lib ${STAGEDIR}${LIBDIR}
do-install-EXAMPLES-on:
2014-02-14 12:30:25 +01:00
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/example && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>