1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/security/pecl-ssh2/Makefile
2021-04-06 16:31:07 +02:00

26 lines
538 B
Makefile

# Created by: Alexander Leidinger <netchild@FreeBSD.org>
PORTNAME= ssh2
PORTVERSION= 1.3.1
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
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>