2000-08-22 09:22:24 +00:00
|
|
|
# New ports collection makefile for: Ruby-filelock
|
|
|
|
# Date created: 22 Aug 2000
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= filelock
|
|
|
|
PORTVERSION= 0.2
|
|
|
|
CATEGORIES= devel ruby
|
2000-09-19 16:09:10 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_RUBY}
|
|
|
|
MASTER_SITE_SUBDIR= contrib
|
2000-09-07 14:39:47 +00:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
2000-08-22 09:22:24 +00:00
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
|
2000-09-07 14:39:47 +00:00
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
2000-08-22 09:22:24 +00:00
|
|
|
|
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
|
|
|
|
DOCS= README
|
|
|
|
EXAMPLES= test.rb tst1.rb tst2.rb tst3.rb tst4.rb
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2000-09-07 14:39:47 +00:00
|
|
|
${MKDIR} ${RUBY_EXAMPLESDIR}/filelock
|
2000-08-22 09:22:24 +00:00
|
|
|
.for f in ${EXAMPLES}
|
2000-09-07 14:39:47 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/samples/${f} ${RUBY_EXAMPLESDIR}/filelock/
|
2000-08-22 09:22:24 +00:00
|
|
|
.endfor
|
2000-09-07 14:39:47 +00:00
|
|
|
${MKDIR} ${RUBY_DOCDIR}/filelock
|
2000-08-22 09:22:24 +00:00
|
|
|
.for f in ${DOCS}
|
2000-09-07 14:39:47 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/filelock/
|
2000-08-22 09:22:24 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2000-09-26 08:02:17 +00:00
|
|
|
.include <bsd.port.mk>
|