ce9751d083
pkgsrc changes: * Add RUBY_DYNAMIC_DIRS which cause generating dynamic PLIST entries. * Move using buildlinks to rubyversion.mk. * Merge converters/ruby-iconv to ruby18-base. Ruby changes: * too may, see ChangeLog file or http://eigenclass.org/hiki.rb?ruby+1.8.5+changelog This is ruby-tk part.
37 lines
1 KiB
Makefile
37 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.24 2006/09/07 15:43:20 taca Exp $
|
|
|
|
DISTNAME= ${RUBY_DISTNAME}
|
|
PKGNAME= ${RUBY_PKGPREFIX}-tk-${RUBY_VERSION}
|
|
#PKGREVISION=
|
|
CATEGORIES= x11 ruby
|
|
MASTER_SITES= ${MASTER_SITE_RUBY}
|
|
|
|
PATCH_SITES= ${MASTER_SITE_LOCAL}
|
|
PATCHFILES= ruby-1.8.5-tk-${RUBY18_PATCH_DATE}.patch.bz2
|
|
PATCH_DIST_STRIP= -p2
|
|
|
|
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"
|