ports/78631: New port: sysutils/pear-File_Fstab PEAR class to read and write fstab files

Antonio Carlos Venancio Junior antonio at php.net
Wed Mar 9 17:00:11 UTC 2005


>Number:         78631
>Category:       ports
>Synopsis:       New port: sysutils/pear-File_Fstab PEAR class to read and write fstab files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 09 17:00:10 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Antônio Carlos Venâncio Júnior
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
FreeBSD antonio.cb.sc.gov.br 4.11-STABLE FreeBSD 4.11-STABLE #5: Tue Feb 22 17:32:18 BRT 2005     root at antonio.cb.sc.gov.br:/usr/obj/usr/src/sys/ANTONIO  i386
>Description:
New port: sysutils/pear-File_Fstab PEAR class to read and write fstab files

PEAR::File_Fstab is an easy-to-use package which can read & write UNIX fstab
files. It presents a pleasant object-oriented interface to the fstab.

Features:
* Supports blockdev, label, and UUID specification of mount device.
* Extendable to parse non-standard fstab formats by defining a new Entry
  class for that format.
* Easily examine and set mount options for an entry.
* Stable, functional interface.
* Fully documented with PHPDoc.
>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	pear-File_Fstab
#	pear-File_Fstab/Makefile
#	pear-File_Fstab/distinfo
#	pear-File_Fstab/pkg-descr
#
echo c - pear-File_Fstab
mkdir -p pear-File_Fstab > /dev/null 2>&1
echo x - pear-File_Fstab/Makefile
sed 's/^X//' >pear-File_Fstab/Makefile << 'END-of-pear-File_Fstab/Makefile'
X# Ports collection makefile for:  pear-File_Fstab
X# Date created:			  09 March 2005
X# Whom:				  Antonio Carlos Venancio Junior (<antonio at inf.ufsc.br>)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	File_Fstab
XPORTVERSION=	2.0.1
XCATEGORIES=	sysutils devel pear
X
XMAINTAINER=	antonio at php.net
XCOMMENT=	PEAR class to read and write fstab files
X
XBUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XCATEGORY=	File
XFILES=		Fstab.php Fstab/Entry.php
XEXAMPLES=	example.php
X_EXAMPLESDIR=	.
X
Xpost-extract:
X	@${MKDIR} ${WRKSRC}/Fstab
X	@${MV} ${WRKSRC}/Entry.php ${WRKSRC}/Fstab
X.for file in ${FILES}
X	@${REINPLACE_CMD} -e "s|@package@|${PORTNAME}|" ${WRKSRC}/${file}
X	@${REINPLACE_CMD} -e "s|@version@|${PORTVERSION}|" ${WRKSRC}/${file}
X.endfor
X
X.include <bsd.port.pre.mk>
X.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
X.include <bsd.port.post.mk>
END-of-pear-File_Fstab/Makefile
echo x - pear-File_Fstab/distinfo
sed 's/^X//' >pear-File_Fstab/distinfo << 'END-of-pear-File_Fstab/distinfo'
XMD5 (PEAR/File_Fstab-2.0.1.tgz) = 8d71e9697d9a8986b8817d470b074a02
XSIZE (PEAR/File_Fstab-2.0.1.tgz) = 6275
END-of-pear-File_Fstab/distinfo
echo x - pear-File_Fstab/pkg-descr
sed 's/^X//' >pear-File_Fstab/pkg-descr << 'END-of-pear-File_Fstab/pkg-descr'
XPEAR::File_Fstab is an easy-to-use package which can read & write UNIX fstab
Xfiles. It presents a pleasant object-oriented interface to the fstab.
X
XFeatures:
X* Supports blockdev, label, and UUID specification of mount device.
X* Extendable to parse non-standard fstab formats by defining a new Entry
X  class for that format.
X* Easily examine and set mount options for an entry.
X* Stable, functional interface.
X* Fully documented with PHPDoc.
X
XWWW: http://pear.php.net/package/File_Fstab/
END-of-pear-File_Fstab/pkg-descr
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list