2008-03-24 20:04:54 +01:00
|
|
|
# New ports collection makefile for: ruby-sexp
|
|
|
|
# Date created: 24 Marth 2008
|
|
|
|
# Whom: Stanislav Sedov <stas@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= sexp
|
2008-09-24 16:41:16 +02:00
|
|
|
PORTVERSION= 0.2.1
|
|
|
|
PORTREVISION= 0
|
2008-03-24 20:04:54 +01:00
|
|
|
CATEGORIES= devel ruby
|
2010-06-07 22:48:42 +02:00
|
|
|
MASTER_SITES= RF
|
2008-03-24 20:04:54 +01:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2011-11-01 23:59:35 +01:00
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
2008-03-24 20:04:54 +01:00
|
|
|
COMMENT= A ruby library to work with s-expressions
|
|
|
|
|
2008-10-12 09:29:13 +02:00
|
|
|
RUN_DEPENDS= rubygem-rparsec>0:${PORTSDIR}/devel/rubygem-rparsec
|
2008-03-24 20:04:54 +01:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
SADIR= ${RUBY_SITELIBDIR}
|
|
|
|
|
2008-09-24 16:41:16 +02:00
|
|
|
EXAMPLES= example.rb
|
2008-03-24 20:04:54 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sexp.rb ${RUBY_SITELIBDIR}/
|
2008-09-24 16:41:16 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/sexpressions.rb ${RUBY_SITELIBDIR}/
|
2008-03-24 20:04:54 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/,} ${RUBY_MODEXAMPLESDIR}/
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|