diff options
author | pav <pav@FreeBSD.org> | 2005-03-12 00:29:30 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-03-12 00:29:30 +0800 |
commit | ecffe5e5edcd6f1e3ac592384dfb736f2f6c9727 (patch) | |
tree | 0cada4b5e798d2f7e1a4c07e91de1700a61ad6a7 /sysutils | |
parent | 49656bf1839412d89b7d3e7653477f4e7114eba7 (diff) | |
download | freebsd-ports-gnome-ecffe5e5edcd6f1e3ac592384dfb736f2f6c9727.tar.gz freebsd-ports-gnome-ecffe5e5edcd6f1e3ac592384dfb736f2f6c9727.tar.zst freebsd-ports-gnome-ecffe5e5edcd6f1e3ac592384dfb736f2f6c9727.zip |
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.
PR: ports/78631
Submitted by: Antonio Carlos Venancio Junior <antonio@php.net>
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/pear-File_Fstab/Makefile | 33 | ||||
-rw-r--r-- | sysutils/pear-File_Fstab/distinfo | 2 | ||||
-rw-r--r-- | sysutils/pear-File_Fstab/pkg-descr | 12 |
4 files changed, 48 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index c367fef43ff2..2826535d46ba 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -330,6 +330,7 @@ SUBDIR += pear-Cache_Lite SUBDIR += pear-File SUBDIR += pear-File_Find + SUBDIR += pear-File_Fstab SUBDIR += pear-File_Gettext SUBDIR += pear-I18Nv2 SUBDIR += pear-Log diff --git a/sysutils/pear-File_Fstab/Makefile b/sysutils/pear-File_Fstab/Makefile new file mode 100644 index 000000000000..6fda8f3a9a95 --- /dev/null +++ b/sysutils/pear-File_Fstab/Makefile @@ -0,0 +1,33 @@ +# Ports collection makefile for: pear-File_Fstab +# Date created: 09 March 2005 +# Whom: Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>) +# +# $FreeBSD$ +# + +PORTNAME= File_Fstab +PORTVERSION= 2.0.1 +CATEGORIES= sysutils devel pear + +MAINTAINER= antonio@php.net +COMMENT= PEAR class to read and write fstab files + +BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR +RUN_DEPENDS= ${BUILD_DEPENDS} + +CATEGORY= File +FILES= Fstab.php Fstab/Entry.php +EXAMPLES= example.php +_EXAMPLESDIR= . + +post-extract: + @${MKDIR} ${WRKSRC}/Fstab + @${MV} ${WRKSRC}/Entry.php ${WRKSRC}/Fstab +.for file in ${FILES} + @${REINPLACE_CMD} -e "s|@package@|${PORTNAME}|" ${WRKSRC}/${file} + @${REINPLACE_CMD} -e "s|@version@|${PORTVERSION}|" ${WRKSRC}/${file} +.endfor + +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common" +.include <bsd.port.post.mk> diff --git a/sysutils/pear-File_Fstab/distinfo b/sysutils/pear-File_Fstab/distinfo new file mode 100644 index 000000000000..9ee8353d3e7c --- /dev/null +++ b/sysutils/pear-File_Fstab/distinfo @@ -0,0 +1,2 @@ +MD5 (PEAR/File_Fstab-2.0.1.tgz) = 8d71e9697d9a8986b8817d470b074a02 +SIZE (PEAR/File_Fstab-2.0.1.tgz) = 6275 diff --git a/sysutils/pear-File_Fstab/pkg-descr b/sysutils/pear-File_Fstab/pkg-descr new file mode 100644 index 000000000000..27f5ee4960e3 --- /dev/null +++ b/sysutils/pear-File_Fstab/pkg-descr @@ -0,0 +1,12 @@ +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. + +WWW: http://pear.php.net/package/File_Fstab/ |