1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/security/pecl-ssh2/Makefile
Vanilla I. Shu 2e9eb3eafb 1: add LICENSE.
2: switch to USES=tar:tgz
2015-02-24 09:29:17 +00:00

30 lines
617 B
Makefile

# Created by: Alexander Leidinger <netchild@FreeBSD.org>
# $FreeBSD$
PORTNAME= ssh2
PORTVERSION= 0.12
CATEGORIES= security pear
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
MAINTAINER= ports@FreeBSD.org
COMMENT= PECL extension to the libssh2 library
LICENSE= PHP301
LIB_DEPENDS= libssh2.so:${PORTSDIR}/security/libssh2
USES= tar:tgz
USE_PHP= yes
USE_PHPEXT= yes
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>