mirror of
https://git.freebsd.org/ports.git
synced 2025-05-21 11:33:15 -04:00
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
516 B
Makefile
29 lines
516 B
Makefile
# Created by: Gasol Wu <gasol.wu@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= jq
|
|
PORTVERSION= 0.0.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
PKGNAMEPREFIX= php-
|
|
|
|
MAINTAINER= gasol.wu@gmail.com
|
|
COMMENT= Jq shared extension for php
|
|
|
|
LICENSE= MIT
|
|
|
|
LIB_DEPENDS= libjq.so:textproc/jq
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= kjdev
|
|
GH_PROJECT= php-ext-jq
|
|
|
|
IGNORE_WITH_PHP= 70
|
|
USES= php:ext tar:tgz
|
|
|
|
JQ_CMD= ${LOCALBASE}/bin/jq
|
|
|
|
pre-build:
|
|
(${JQ_CMD} -V | ${SED} 's,jq-\(.*\),#define JQ_VERSION "\1",' >> ${WRKSRC}/version.h)
|
|
|
|
.include <bsd.port.mk>
|