blob: 75f87630f02cdc3e0b57610fb7aebc61e920cf12 (
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
|
# $NetBSD: Makefile,v 1.5 2006/10/09 22:48:10 minskim Exp $
DISTNAME= actionpack-1.12.5
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES= www ruby
MASTER_SITES= http://rubyforge.org/frs/download.php/12314/
EXTRACT_SUFX= .tgz
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://ap.rubyonrails.com/
COMMENT= Two-step approach to web response generation
DEPENDS+= ${RUBY_PKGPREFIX}-activesupport>=1.3.1:../../devel/ruby-activesupport
NO_BUILD= yes
USE_RUBY_INSTALL= yes
EXAMPLESDIR= ${RUBY_EXAMPLESDIR}/actionpack
REPLACE_RUBY+= lib/action_controller/session/drb_server.rb
REPLACE_RUBY+= examples/*.cgi examples/*.fcgi examples/*.rbx
.include "../../lang/ruby/modules.mk"
.include "../../lang/ruby/replace.mk"
post-install:
${INSTALL_DATA_DIR} ${RUBY_SITELIBDIR}/action_controller/support
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/actionpack
${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${RUBY_DOCDIR}/actionpack
${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/actionpack
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
${CHOWN} -R ${BINOWN}:${BINGRP} ${EXAMPLESDIR}
.include "../../mk/bsd.pkg.mk"
|