blob: ff83e6395195d2ddef065f5e05bdbe182f743b89 (
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.23 2006/05/31 04:08:27 taca Exp $
DISTNAME= ${RUBY_DISTNAME}
PKGNAME= ${RUBY_PKGPREFIX}-tk-${RUBY_VERSION}
PKGREVISION= 2
CATEGORIES= x11 ruby
MASTER_SITES= ${MASTER_SITE_RUBY}
MAINTAINER= taca@NetBSD.org
HOMEPAGE= ${RUBY_HOMEPAGE}
COMMENT= Ruby interface to the Tk widget set including Tcl/TK library
RUBY_HAS_ARCHLIB= yes
USE_RUBY_EXTCONF= yes
EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/tk
WRKSRC= ${RUBY_WRKSRC}/ext/tk
CONFIGURE_ARGS+= --with-X11-dir=${X11BASE:Q}
REPLACE_RUBY_DIRS= ${WRKSRC}/sample
pre-configure:
@cd ${WRKSRC}; \
${FIND} . \( -name '*.orig' -o -name '*.bak' \) -exec ${RM} -f {} \;
post-install:
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/tk
${CP} -r ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/tk
.include "../../lang/ruby/modules.mk"
.include "../../lang/ruby/Makefile.common"
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|