# New ports collection makefile for: rubygem-amazon-ecs # Date created: 2007-07-18 # Whom: TAKATSU Tomonari # # $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