The PHP Mess Detector aims to be a simplified PHP port of the well known

Java Tool PMD. This project uses PHP_Depend to measure several software
metrics from given source code, then it compares the calculated values
with customizeable thresholds and reports all suspect software artifacts

WWW: http://phpmd.org/

PR:		172761
Submitted by:	Gasol Wu <gasol.wu@gmail.com>
Feature safe:   yes
This commit is contained in:
Ruslan Makhmatkhanov 2012-12-03 15:58:26 +00:00
parent bd6507c681
commit 9a8e466120
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308156
4 changed files with 35 additions and 0 deletions

View File

@ -3019,6 +3019,7 @@
SUBDIR += pear-PHP_Compat
SUBDIR += pear-PHP_CompatInfo
SUBDIR += pear-PHP_Depend
SUBDIR += pear-PHP_PMD
SUBDIR += pear-PHP_Parser
SUBDIR += pear-PHP_ParserGenerator
SUBDIR += pear-PHP_Timer

View File

@ -0,0 +1,26 @@
# Created by: Gasol Wu <gasol.wu@gmail.com>
# $FreeBSD$
PORTNAME= PHP_PMD
PORTVERSION= 1.4.0
CATEGORIES= devel pear
MASTER_SITES= http://pear.phpmd.org/get/
PKGNAMEPREFIX= pear-
MAINTAINER= gasol.wu@gmail.com
COMMENT= PHP Mess Detector
LICENSE= BSD
BUILD_DEPENDS= pear>=1.6.0:${PORTSDIR}/devel/pear \
${PEARDIR}/.channels/pear.phpmd.org.reg:${PORTSDIR}/devel/pear-channel-phpmd
RUN_DEPENDS= pear>=1.6.0:${PORTSDIR}/devel/pear \
${PEARDIR}/.channels/pear.phpmd.org.reg:${PORTSDIR}/devel/pear-channel-phpmd
PEAR_CHANNEL= phpmd
PEAR_AUTOINSTALL= yes
USE_PHP= dom simplexml
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
SHA256 (PEAR/PHP_PMD-1.4.0.tgz) = db0e63dc79b4ef35c36b53b9d52fe1bf5c416e10ffc6dd527d47b3351cf9ebe7
SIZE (PEAR/PHP_PMD-1.4.0.tgz) = 46482

View File

@ -0,0 +1,6 @@
The PHP Mess Detector aims to be a simplified PHP port of the well known
Java Tool PMD. This project uses PHP_Depend to measure several software
metrics from given source code, then it compares the calculated values
with customizeable thresholds and reports all suspect software artifacts
WWW: http://phpmd.org/