Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now flavored. They will automatically get flavors (php56, php70, php71, php72) depending of the versions they support (set with IGNORE_WITH_PHP). As a consequence, ports using USES=pear and USES=horde are also flavored. PR: 226242 Submitted by: mat Exp-run by: antoine Approved by: portmgr Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D14208
29 lines
689 B
Makefile
29 lines
689 B
Makefile
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= geos
|
|
PORTVERSION= 1.0.0
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= https://git.osgeo.org/gogs/geos/php-geos/archive/ \
|
|
LOCAL/sunpoet/${PKGNAMEPREFIX}${PORTNAME}
|
|
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
|
|
DISTNAME= ${DISTVERSION}
|
|
DIST_SUBDIR= php-${PORTNAME}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= PHP bindings for GEOS
|
|
|
|
LICENSE= LGPL21 MIT
|
|
LICENSE_COMB= multi
|
|
LICENSE_FILE_LGPL21= ${WRKSRC}/LGPL-2
|
|
LICENSE_FILE_MIT= ${WRKSRC}/MIT-LICENSE
|
|
|
|
BUILD_DEPENDS= swig3.0:devel/swig30
|
|
LIB_DEPENDS= libgeos_c.so:graphics/geos
|
|
|
|
LDFLAGS+= -L${PREFIX}/lib
|
|
USES= php:ext
|
|
|
|
WRKSRC= ${WRKDIR}/php-${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|