forked from Lainports/freebsd-ports
file, so the order remains the same. Every PHP (or Zend) extension now installs its own .ini file in /usr/local/etc/php. A PHP extension will be automatically activated when installed. The order into which extensions are loaded is automatically guessed. In some very rare cases, the guess will be wrong, and PHP_MOD_PRIO will need to be set. Refer to the USES=php section of the Porter's Handbook for more information. Convert ports touching etc/php/extensions.ini manually, or telling the OP to do it. And finally, bump PORTREVISION for all php extensions. PR: 210697 Submitted by: mat Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D7022
29 lines
620 B
Makefile
29 lines
620 B
Makefile
# Created by: Alexander Leidinger <netchild@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ssh2
|
|
PORTVERSION= 0.12
|
|
PORTREVISION= 1
|
|
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:security/libssh2
|
|
|
|
USES= php:ext tar:tgz
|
|
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>
|