freebsd-ports/devel/ruby-sexp/Makefile

37 lines
800 B
Makefile
Raw Normal View History

# 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
CATEGORIES= devel ruby
2010-06-07 22:48:42 +02:00
MASTER_SITES= RF
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= ruby@FreeBSD.org
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
USE_RUBY= yes
NO_BUILD= yes
SADIR= ${RUBY_SITELIBDIR}
2008-09-24 16:41:16 +02:00
EXAMPLES= example.rb
do-install:
${INSTALL_DATA} ${WRKSRC}/sexp.rb ${RUBY_SITELIBDIR}/
2008-09-24 16:41:16 +02:00
${INSTALL_DATA} ${WRKSRC}/sexpressions.rb ${RUBY_SITELIBDIR}/
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/,} ${RUBY_MODEXAMPLESDIR}/
.endif
.include <bsd.port.mk>