2f31d9527c
Related with `USES=php` so is better to keep them together Reported by: mat
27 lines
570 B
Makefile
27 lines
570 B
Makefile
# 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
|
|
|
|
LIB_DEPENDS= libssh2.so:security/libssh2
|
|
|
|
USES= php:pecl
|
|
IGNORE_WITH_PHP= 56
|
|
|
|
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>
|