dec91f1c9d
2: switch to USES=tar:tgz
27 lines
581 B
Makefile
27 lines
581 B
Makefile
# Created by: Wen Heping <wenheping@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= oauth
|
|
PORTVERSION= 1.2.3
|
|
CATEGORIES= net pear
|
|
MASTER_SITES= http://pecl.php.net/get/
|
|
PKGNAMEPREFIX= pecl-
|
|
DIST_SUBDIR= PECL
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Php Interface to the OAuth Protocol
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/curl/curl.h:${PORTSDIR}/ftp/curl
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
USES= tar:tgz
|
|
USE_PHP= yes
|
|
USE_PHPEXT= yes
|
|
|
|
.include <bsd.port.mk>
|