mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
5b88151c10
- STAGE-clean
35 lines
713 B
Makefile
35 lines
713 B
Makefile
# Created by: gahr
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tivoka
|
|
PORTVERSION= 3.2.1
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
|
COMMENT= JSON-RPC client/server library for PHP
|
|
|
|
LICENSE= MIT
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
USE_PHP= json filter
|
|
NO_BUILD= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= marcelklehr
|
|
GH_COMMIT= 3d4525b
|
|
|
|
LIBDIR= ${PREFIX}/lib/php/${PHP_EXT_DIR}/${PORTNAME}
|
|
PLIST_SUB+= LIBDIR=${LIBDIR:S/${PREFIX}\///}
|
|
|
|
PORTEXAMPLES= *
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${LIBDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/include.php ${STAGEDIR}${LIBDIR}
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} lib ${STAGEDIR}${LIBDIR}
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
cd ${WRKSRC}/example && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|