blob: a5903563ffde09e089f936b38bf919d4216690e0 (
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
|
# $NetBSD: Makefile,v 1.2 2006/05/04 01:38:02 minskim Exp $
DISTNAME= rgl-0.2.3
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://rubyforge.org/frs/download.php/3959/
EXTRACT_SUFX= .tgz
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://rgl.rubyforge.org/
COMMENT= Framework for graph data structures and algorithms
DEPENDS+= ${RUBY_PKGPREFIX}-stream-[0-9]*:../../devel/ruby-stream
NO_BUILD= yes
NO_CONFIGURE= yes
USE_RUBY_INSTALL= yes
.include "../../lang/ruby/modules.mk"
post-install:
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/rgl
${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/rgl
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/rgl
${CP} -R ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/rgl
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${RUBY_EXAMPLESDIR}/rgl
${FIND} ${RUBY_EXAMPLESDIR}/rgl -type d -print | \
${XARGS} ${CHMOD} ${PKGDIRMODE}
${FIND} ${RUBY_EXAMPLESDIR}/rgl -type f -print | \
${XARGS} ${CHMOD} ${SHAREMODE}
.include "../../mk/bsd.pkg.mk"
|