mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
36 lines
845 B
Makefile
36 lines
845 B
Makefile
# 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_powerpc64= Does not build
|
|
|
|
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>
|