head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2012.11.17.06.03.07;	author svnexp;	state Exp;
branches;
next	1.1;

1.1
date	2012.08.20.10.04.13;	author gahr;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Switch exporter over
@
text
@# New ports collection Makefile for:    tivoka
# Date created:				16 July 2012
# Whom:					gahr
#
# $FreeBSD: head/www/tivoka/Makefile 302794 2012-08-20 10:04:13Z gahr $
#

PORTNAME=	tivoka
PORTVERSION=	3.0.1
CATEGORIES=	www

MAINTAINER=	gahr@@FreeBSD.org
COMMENT=	JSON-RPC client/server library for PHP

LICENSE=	MIT

USE_PHP=	json filter
NO_BUILD=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	marcelklehr
GH_COMMIT=	4cbf436

LIBDIR=		${PREFIX}/lib/php/${PHP_EXT_DIR}/${PORTNAME}
PLIST_SUB+=	LIBDIR=${LIBDIR:S/${PREFIX}\///}

do-install:
	@@${MKDIR} ${LIBDIR}
	@@${INSTALL_DATA} ${WRKSRC}/include.php ${LIBDIR}
	@@cd ${WRKSRC} && ${COPYTREE_SHARE} lib ${LIBDIR}
.if !defined(NOPORTEXAMPLES)
	@@${MKDIR} ${EXAMPLESDIR}
	@@cd ${WRKSRC}/example && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>
@


1.1
log
@SVN rev 302794 on 2012-08-20 10:04:13Z by gahr

- Add support for fetching from GitHub in bsd.sites.mk
- Document the mechanism in CHANGES
- Add www/tivoka (a JSON-RPC client/server library in PHP) which
  uses the GitHub mechanism

Approved by:	beat (portmgr) after exp-run
@
text
@d5 1
a5 1
# $FreeBSD$
@

