From 28a61e58263d17c273e2a9ee256efead85b9556b Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Thu, 6 May 2004 19:21:44 +0000 Subject: [PATCH] Add phptags, a utility that makes a tags file from the specified PHP sources. A tags file gives the locations of specified objects in a group of files. Each line of the tags file contains the object name, the file in which it is defined, and a search pattern for the object definition, separated by white-space. Using the tags file, many editors (ex(1), vim(1), emacs(1), etc) can quickly locate these object definitions. PR: ports/66328 Submitted by: Roman Bogorodskiy --- devel/Makefile | 1 + devel/phptags/Makefile | 33 +++++++++++++++++++++++++++++++++ devel/phptags/distinfo | 2 ++ devel/phptags/pkg-descr | 11 +++++++++++ 4 files changed, 47 insertions(+) create mode 100644 devel/phptags/Makefile create mode 100644 devel/phptags/distinfo create mode 100644 devel/phptags/pkg-descr diff --git a/devel/Makefile b/devel/Makefile index 03e84187df98..67fbfbccd207 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -988,6 +988,7 @@ SUBDIR += pharmacy SUBDIR += php-dbg SUBDIR += php-xdebug + SUBDIR += phptags SUBDIR += physfs SUBDIR += picasm SUBDIR += picp diff --git a/devel/phptags/Makefile b/devel/phptags/Makefile new file mode 100644 index 000000000000..f03b55ab5593 --- /dev/null +++ b/devel/phptags/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: phptags +# Date created: 06 May 2004 +# Whom: Roman Bogorodskiy +# +# $FreeBSD$ +# + +PORTNAME= phptags +PORTVERSION= 0.1 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= bogorodskiy@inbox.ru +COMMENT= Create a tags file from PHP sources + +GNU_CONFIGURE= yes +USE_GETOPT_LONG= yes +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} + +MAN1= phptags.1 +PLIST_FILES= bin/phptags +PORTDOCS= AUTHORS TODO README ChangeLog INSTALL + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for i in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + +.include diff --git a/devel/phptags/distinfo b/devel/phptags/distinfo new file mode 100644 index 000000000000..91115a171ac8 --- /dev/null +++ b/devel/phptags/distinfo @@ -0,0 +1,2 @@ +MD5 (phptags-0.1.tar.gz) = c7214263138710de76390de3291d8b54 +SIZE (phptags-0.1.tar.gz) = 141585 diff --git a/devel/phptags/pkg-descr b/devel/phptags/pkg-descr new file mode 100644 index 000000000000..ffbed1129a8f --- /dev/null +++ b/devel/phptags/pkg-descr @@ -0,0 +1,11 @@ +The phptags utility makes a tags file from the specified PHP sources. +A tags file gives the locations of specified objects in a group of files. +Each line of the tags file contains the object name, the file in which it is +defined, and a search pattern for the object definition, separated by +white-space. Using the tags file, many editors (ex(1), vim(1), emacs(1), etc) +can quickly locate these object definitions. + +WWW: http://phptags.sf.net + +-Roman Bogorodskiy +