aboutsummaryrefslogtreecommitdiffstats
path: root/www/php-plurk-api/Makefile
blob: b168a1672b70d4244604b1e4a6c964512d4efba3 (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
# Created by: Bo-Yi Wu <appleboy.tw@gmail.com>
# $FreeBSD$

PORTNAME=   php-plurk-api
PORTVERSION=    1.6.4
PORTREVISION=   2
CATEGORIES= www
MASTER_SITES=   GOOGLE_CODE

MAINTAINER= appleboy.tw@gmail.com
COMMENT=    Plurk API Implementation with PHP

LICENSE=    BSD3CLAUSE

BROKEN=     Unfetchable (google code has gone away)

NO_BUILD=   yes
NO_ARCH=    yes
USE_PHP=    json curl
USES=       shebangfix zip
php_OLD_CMD=    /usr/bin/php5
SHEBANG_FILES=  example.php
WRKSRC=     ${WRKDIR}/${PORTVERSION}

PLIST_SUB=  WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
SUB_LIST=   PKGNAME=${PKGNAME}
SUB_FILES=  pkg-message

do-install:
    @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
    @${FIND} ${STAGEDIR}${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
    @${FIND} ${STAGEDIR}${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
    @${CHMOD} 755 ${STAGEDIR}${WWWDIR}/example.php

.include <bsd.port.mk>