blob: fa11987b0a079a11aaa2c0cc0d3f9378a5c6543b (
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
|
# Created by: Alexander Leidinger <netchild@FreeBSD.org>
# $FreeBSD$
PORTNAME= ssh2
PORTVERSION= 1.1.2
CATEGORIES= security pear
MAINTAINER= dbaio@FreeBSD.org
COMMENT= PECL extension to the libssh2 library
LICENSE= PHP301
LICENSE_FILE= ${WRKSRC}/LICENSE
IGNORE_WITH_PHP= 56
LIB_DEPENDS= libssh2.so:security/libssh2
USES= php:pecl
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${EXTRA_LIBS}
CONFIGURE_ARGS= --with-ssh2
post-patch:
@${REINPLACE_CMD} -e 's|\$$SSH2_DIR/lib|\$$SSH2_DIR/\$$PHP_LIBDIR|g' ${WRKSRC}/config.m4
.include <bsd.port.mk>
|