freebsd-ports/security/pecl-ssh2/Makefile
Martin Wilke 5a67738f00 - Ignore php70
- While here remove old php gruft
2016-02-18 14:47:05 +00:00

30 lines
636 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= miwi@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
IGNORE_WITH_PHP= 70
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>