freebsd-ports/security/pecl-ssh2/Makefile
Baptiste Daroussin 91a1caa242 Reset miwi's maintainership per his demand
Hope to see you back! Thank for all the work!
2014-11-18 09:37:31 +00:00

27 lines
604 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-
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= PECL extension to the libssh2 library
LIB_DEPENDS= libssh2.so:${PORTSDIR}/security/libssh2
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>