freebsd-ports/devel/pear-TheSeer_DirectoryScanner/Makefile
Mathieu Arnold a1993564e0 Introduce PHP flavors.
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
2018-03-08 19:48:41 +00:00

35 lines
753 B
Makefile

# Created by: Gasol Wu <gasol.wu@gmail.com>
# $FreeBSD$
PORTNAME= DirectoryScanner
PORTVERSION= 1.3.2
CATEGORIES= devel pear
PKGNAMEPREFIX= ${PEAR_PKGNAMEPREFIX}TheSeer_
MAINTAINER= joneum@FreeBSD.org
COMMENT= Recursive directory scanner and filter
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= php:flavors pear:env
USE_GITHUB= yes
GH_ACCOUNT= theseer
GH_PROJECT= DirectoryScanner
USE_PHP= fileinfo
PEAR_CHANNEL= theseer
PEAR_CHANNEL_VER= >=20120501
NO_BUILD= yes
PHP_DIR= share/PHP
PLIST_FILES= ${PHP_DIR}/${PORTNAME}/directoryscanner.php
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${PHP_DIR}/${PORTNAME}
${INSTALL_SCRIPT} ${WRKSRC}/src/directoryscanner.php \
${STAGEDIR}${PREFIX}/${PHP_DIR}/${PORTNAME}
.include <bsd.port.mk>