2011-02-21 17:01:10 +01:00
|
|
|
# $NetBSD: Makefile,v 1.21 2011/02/21 16:01:19 taca Exp $
|
Importing ruby-quota 0.5.1 package.
Ruby/Quota
-------------------------------------------------------------------------------
This module provides functions which manipulate disk quotas.
-------------------------------------------------------------------------------
SUPPORT ENVIRONMENT
* Linux 2.4 or later
* Solaris 2.6, 7, 8
* FreeBSD, NetBSD (OpenBSD,.. ?)
-------------------------------------------------------------------------------
SYNOPSIS
Quota::GroupID.new(id)
Quota::GroupID[id]
Quota::UserID.new(id)
Quota::UserID[id]
Quota.quotaon(dev, quotas)
Quota.quotaoff(dev)
Quota.getquota(dev, uid)
Quota.setquota(dev, uid, dq)
Quota.setqlim(dev, uid, dq) # *BSD does not have this function.
Quota.sync(dev)
* 'dev' is a device file or a mount point (e.g. /dev/hda0, /mnt/foo). On *
BSD, this library try to find a mounted directory from a given filesystem
using getmntinfo().
* 'quotas' is a quotas file.
* 'uid' is an integer value, an user id or a group id. If it is an integer,
it is treated as an user id.
* 'dq' is an entry of the quotas. its members are same as 'dqblk' structure
(e.g. dqb_curblocks => dq.curblocks). see also the quotactl man pages and
header files (e.g. linux/quota.h).
2002-03-30 17:52:41 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= ruby-quota-0.5.1
|
2004-11-28 05:21:42 +01:00
|
|
|
PKGNAME= ${RUBY_PKGPREFIX}-quota-0.5.1
|
2011-02-21 17:01:10 +01:00
|
|
|
PKGREVISION= 11
|
2004-03-16 03:01:09 +01:00
|
|
|
CATEGORIES= sysutils ruby
|
2004-03-17 15:38:02 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ruby-quota/}
|
Importing ruby-quota 0.5.1 package.
Ruby/Quota
-------------------------------------------------------------------------------
This module provides functions which manipulate disk quotas.
-------------------------------------------------------------------------------
SUPPORT ENVIRONMENT
* Linux 2.4 or later
* Solaris 2.6, 7, 8
* FreeBSD, NetBSD (OpenBSD,.. ?)
-------------------------------------------------------------------------------
SYNOPSIS
Quota::GroupID.new(id)
Quota::GroupID[id]
Quota::UserID.new(id)
Quota::UserID[id]
Quota.quotaon(dev, quotas)
Quota.quotaoff(dev)
Quota.getquota(dev, uid)
Quota.setquota(dev, uid, dq)
Quota.setqlim(dev, uid, dq) # *BSD does not have this function.
Quota.sync(dev)
* 'dev' is a device file or a mount point (e.g. /dev/hda0, /mnt/foo). On *
BSD, this library try to find a mounted directory from a given filesystem
using getmntinfo().
* 'quotas' is a quotas file.
* 'uid' is an integer value, an user id or a group id. If it is an integer,
it is treated as an user id.
* 'dq' is an entry of the quotas. its members are same as 'dqblk' structure
(e.g. dqb_curblocks => dq.curblocks). see also the quotactl man pages and
header files (e.g. linux/quota.h).
2002-03-30 17:52:41 +01:00
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= taca@NetBSD.org
|
2004-03-15 15:29:18 +01:00
|
|
|
HOMEPAGE= http://sourceforge.net/projects/ruby-quota/
|
2003-07-21 19:24:16 +02:00
|
|
|
COMMENT= Quota interface for Ruby
|
2009-10-27 16:29:32 +01:00
|
|
|
LICENSE= modified-bsd
|
Importing ruby-quota 0.5.1 package.
Ruby/Quota
-------------------------------------------------------------------------------
This module provides functions which manipulate disk quotas.
-------------------------------------------------------------------------------
SUPPORT ENVIRONMENT
* Linux 2.4 or later
* Solaris 2.6, 7, 8
* FreeBSD, NetBSD (OpenBSD,.. ?)
-------------------------------------------------------------------------------
SYNOPSIS
Quota::GroupID.new(id)
Quota::GroupID[id]
Quota::UserID.new(id)
Quota::UserID[id]
Quota.quotaon(dev, quotas)
Quota.quotaoff(dev)
Quota.getquota(dev, uid)
Quota.setquota(dev, uid, dq)
Quota.setqlim(dev, uid, dq) # *BSD does not have this function.
Quota.sync(dev)
* 'dev' is a device file or a mount point (e.g. /dev/hda0, /mnt/foo). On *
BSD, this library try to find a mounted directory from a given filesystem
using getmntinfo().
* 'quotas' is a quotas file.
* 'uid' is an integer value, an user id or a group id. If it is an integer,
it is treated as an user id.
* 'dq' is an entry of the quotas. its members are same as 'dqblk' structure
(e.g. dqb_curblocks => dq.curblocks). see also the quotactl man pages and
header files (e.g. linux/quota.h).
2002-03-30 17:52:41 +01:00
|
|
|
|
2004-11-28 05:21:42 +01:00
|
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
INSTALL_TARGET= site-install
|
2009-02-15 04:37:35 +01:00
|
|
|
INSTALLATION_DIRS= ${RUBY_VENDORLIB} ${RUBY_DOC}/quota
|
2010-09-10 09:58:44 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
Importing ruby-quota 0.5.1 package.
Ruby/Quota
-------------------------------------------------------------------------------
This module provides functions which manipulate disk quotas.
-------------------------------------------------------------------------------
SUPPORT ENVIRONMENT
* Linux 2.4 or later
* Solaris 2.6, 7, 8
* FreeBSD, NetBSD (OpenBSD,.. ?)
-------------------------------------------------------------------------------
SYNOPSIS
Quota::GroupID.new(id)
Quota::GroupID[id]
Quota::UserID.new(id)
Quota::UserID[id]
Quota.quotaon(dev, quotas)
Quota.quotaoff(dev)
Quota.getquota(dev, uid)
Quota.setquota(dev, uid, dq)
Quota.setqlim(dev, uid, dq) # *BSD does not have this function.
Quota.sync(dev)
* 'dev' is a device file or a mount point (e.g. /dev/hda0, /mnt/foo). On *
BSD, this library try to find a mounted directory from a given filesystem
using getmntinfo().
* 'quotas' is a quotas file.
* 'uid' is an integer value, an user id or a group id. If it is an integer,
it is treated as an user id.
* 'dq' is an entry of the quotas. its members are same as 'dqblk' structure
(e.g. dqb_curblocks => dq.curblocks). see also the quotactl man pages and
header files (e.g. linux/quota.h).
2002-03-30 17:52:41 +01:00
|
|
|
|
|
|
|
DOCS= ChangeLog README
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.for f in ${DOCS}
|
2008-06-19 16:52:11 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}/quota
|
Importing ruby-quota 0.5.1 package.
Ruby/Quota
-------------------------------------------------------------------------------
This module provides functions which manipulate disk quotas.
-------------------------------------------------------------------------------
SUPPORT ENVIRONMENT
* Linux 2.4 or later
* Solaris 2.6, 7, 8
* FreeBSD, NetBSD (OpenBSD,.. ?)
-------------------------------------------------------------------------------
SYNOPSIS
Quota::GroupID.new(id)
Quota::GroupID[id]
Quota::UserID.new(id)
Quota::UserID[id]
Quota.quotaon(dev, quotas)
Quota.quotaoff(dev)
Quota.getquota(dev, uid)
Quota.setquota(dev, uid, dq)
Quota.setqlim(dev, uid, dq) # *BSD does not have this function.
Quota.sync(dev)
* 'dev' is a device file or a mount point (e.g. /dev/hda0, /mnt/foo). On *
BSD, this library try to find a mounted directory from a given filesystem
using getmntinfo().
* 'quotas' is a quotas file.
* 'uid' is an integer value, an user id or a group id. If it is an integer,
it is treated as an user id.
* 'dq' is an entry of the quotas. its members are same as 'dqblk' structure
(e.g. dqb_curblocks => dq.curblocks). see also the quotactl man pages and
header files (e.g. linux/quota.h).
2002-03-30 17:52:41 +01:00
|
|
|
.endfor
|
|
|
|
|
2004-11-28 05:21:42 +01:00
|
|
|
.include "../../lang/ruby/modules.mk"
|
Importing ruby-quota 0.5.1 package.
Ruby/Quota
-------------------------------------------------------------------------------
This module provides functions which manipulate disk quotas.
-------------------------------------------------------------------------------
SUPPORT ENVIRONMENT
* Linux 2.4 or later
* Solaris 2.6, 7, 8
* FreeBSD, NetBSD (OpenBSD,.. ?)
-------------------------------------------------------------------------------
SYNOPSIS
Quota::GroupID.new(id)
Quota::GroupID[id]
Quota::UserID.new(id)
Quota::UserID[id]
Quota.quotaon(dev, quotas)
Quota.quotaoff(dev)
Quota.getquota(dev, uid)
Quota.setquota(dev, uid, dq)
Quota.setqlim(dev, uid, dq) # *BSD does not have this function.
Quota.sync(dev)
* 'dev' is a device file or a mount point (e.g. /dev/hda0, /mnt/foo). On *
BSD, this library try to find a mounted directory from a given filesystem
using getmntinfo().
* 'quotas' is a quotas file.
* 'uid' is an integer value, an user id or a group id. If it is an integer,
it is treated as an user id.
* 'dq' is an entry of the quotas. its members are same as 'dqblk' structure
(e.g. dqb_curblocks => dq.curblocks). see also the quotactl man pages and
header files (e.g. linux/quota.h).
2002-03-30 17:52:41 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|