2007-09-29 00:56:02 +02:00
|
|
|
# New ports collection makefile for: rubygem-ruby2ruby
|
|
|
|
# Date created: 2007-09-28
|
|
|
|
# Whom: TAKATSU Tomonari <tota@rtfm.jp>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ruby2ruby
|
2008-01-09 03:31:45 +01:00
|
|
|
PORTVERSION= 1.1.8
|
2007-09-29 00:56:02 +02:00
|
|
|
CATEGORIES= devel rubygems
|
|
|
|
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= seattlerb
|
|
|
|
|
|
|
|
MAINTAINER= tota@rtfm.jp
|
|
|
|
COMMENT= A pure ruby code generator easily from ParseTree's Sexps
|
|
|
|
|
2008-01-09 03:31:45 +01:00
|
|
|
BUILD_DEPENDS= rubygem-parsetree>=0.0:${PORTSDIR}/devel/rubygem-parsetree \
|
|
|
|
rubygem-hoe>=1.4.0:${PORTSDIR}/devel/rubygem-hoe
|
2007-09-29 00:56:02 +02:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
2008-04-06 10:58:21 +02:00
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBYGEMS= yes
|
|
|
|
|
2007-09-29 00:56:02 +02:00
|
|
|
x-generate-plist:
|
2008-01-09 03:31:45 +01:00
|
|
|
${ECHO} bin/r2r_show > pkg-plist.new
|
|
|
|
${ECHO} %%GEM_CACHE%% >> pkg-plist.new
|
2007-09-29 00:56:02 +02:00
|
|
|
${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},%%GEM_DOC_DIR%%,' >> pkg-plist.new
|
|
|
|
${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},%%GEM_LIB_DIR%%,' >> pkg-plist.new
|
|
|
|
${ECHO} %%GEM_SPEC%% >> pkg-plist.new
|
|
|
|
${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm %%GEM_LIB_DIR%%,' >> pkg-plist.new
|
|
|
|
${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm %%GEM_DOC_DIR%%,' >> pkg-plist.new
|
|
|
|
|
2008-04-06 10:58:21 +02:00
|
|
|
.include <bsd.port.mk>
|