blob: d70fadd98270d07a411e80c70c931b5ba1335c87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.7 2007/03/17 11:17:57 minskim Exp $
DISTNAME= actionwebservice-1.2.3
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES= www ruby
MASTER_SITES= http://rubyforge.org/frs/download.php/18412/
EXTRACT_SUFX= .tgz
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://rubyforge.org/projects/aws/
COMMENT= Simple support for publishing web service APIs for Rails
DEPENDS+= ${RUBY_PKGPREFIX}-actionpack>=1.13.3:../../www/ruby-actionpack
DEPENDS+= ${RUBY_PKGPREFIX}-activerecord>=1.15.3:../../databases/ruby-activerecord
USE_RUBY_SETUP= yes
.include "../../lang/ruby/modules.mk"
post-install:
${INSTALL_DATA} \
${WRKSRC}/lib/action_web_service/templates/scaffolds/* \
${RUBY_SITELIBDIR}/action_web_service/templates/scaffolds
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/action_web_service
${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${RUBY_DOCDIR}/action_web_service
${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/action_web_service
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/action_web_service
${CP} -R ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/action_web_service
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} \
${RUBY_EXAMPLESDIR}/action_web_service
${FIND} ${RUBY_EXAMPLESDIR}/action_web_service -type d -print | \
${XARGS} ${CHMOD} ${PKGDIRMODE}
${FIND} ${RUBY_EXAMPLESDIR}/action_web_service -type f -print | \
${XARGS} ${CHMOD} ${SHAREMODE}
.include "../../mk/bsd.pkg.mk"
|