mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
fae8e0f615
- Implement new knobs for gems and rake (these are included in ruby 1.9 distribution already). Also move gem bits from ruby-gems/Makefile.common to bsd.ruby.mk[1]. Now to depend on gems or rake you should define USE_RUBYGEMS/USE_RAKE accordingly. Also RAKE_BIN variable is provided for pointing to the right rake executable. - Rewrite RUBY_SCHEBANG in awk to eliminate build dependency on ruby. Discussed with: Jonathan Weiss <jw@innerewut.de> [1] (gems maintainer) Tested by: ports@
32 lines
1.1 KiB
Makefile
32 lines
1.1 KiB
Makefile
# New ports collection makefile for: rubygem-amazon-ecs
|
|
# Date created: 2007-07-18
|
|
# Whom: TAKATSU Tomonari <tota@rtfm.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= amazon-ecs
|
|
PORTVERSION= 0.5.3
|
|
CATEGORIES= www rubygems
|
|
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= tota@rtfm.jp
|
|
COMMENT= A generic Amazon E-commerce REST API written in Ruby
|
|
|
|
RUN_DEPENDS= rubygem-hpricot>=0:${PORTSDIR}/www/rubygem-hpricot
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBYGEMS= yes
|
|
|
|
# This target is only meant to be used by the port maintainer.
|
|
x-generate-plist:
|
|
${ECHO} %%GEM_CACHE%% > pkg-plist.new
|
|
${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
|
|
|
|
.include <bsd.port.mk>
|