summaryrefslogtreecommitdiff
path: root/devel/ruby-filelock/Makefile
blob: 1f64659158f158f567fccd8ad3623edea3484c66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $NetBSD: Makefile,v 1.6 2005/01/28 14:08:01 taca Exp $
# FreeBSD: ports/devel/ruby-filelock/Makefile,v 1.4 2000/09/26 08:01:52 knu Exp

DISTNAME=	filelock-0.2
PKGNAME=	${RUBY_PKGPREFIX}-${DISTNAME}
PKGREVISION=	1
CATEGORIES=	devel ruby
MASTER_SITES=	ftp://ftp.ruby-lang.org/pub/ruby/contrib/

MAINTAINER=	taca@NetBSD.org
HOMEPAGE=	# not available
COMMENT=	Ruby module which provides file locking mechanism

RUBY_HAS_ARCHLIB=	yes
USE_RUBY_EXTCONF= 	yes
INSTALL_TARGET=		site-install
DOCS=			README
EXAMPLES=		test.rb	tst1.rb	tst2.rb	tst3.rb	tst4.rb

post-install:
	${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/filelock
.for f in ${EXAMPLES}
	${INSTALL_DATA} ${WRKSRC}/samples/${f} ${RUBY_EXAMPLESDIR}/filelock
.endfor
	${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/filelock
.for f in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/filelock
.endfor

.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"