2c7aa121ce
Since chanes are too much to write here, please refer http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7/NEWS http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7/ChangeLog http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_17/NEWS http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_17/ChangeLog
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.31 2008/06/19 14:37:41 taca Exp $
|
|
|
|
DISTNAME= ${RUBY_DISTNAME}
|
|
PKGNAME= ${RUBY_PKGPREFIX}-tk-${RUBY_VERSION_SUFFIX}
|
|
CATEGORIES= x11 ruby
|
|
MASTER_SITES= ${MASTER_SITE_RUBY}
|
|
|
|
MAINTAINER= taca@NetBSD.org
|
|
HOMEPAGE= ${RUBY_HOMEPAGE}
|
|
COMMENT= Ruby interface to the Tk widget set
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
RUBY_HAS_ARCHLIB= yes
|
|
USE_LANGUAGES= c
|
|
USE_TOOLS+= pax
|
|
USE_RUBY_EXTCONF= yes
|
|
RUBY_EXTCONF_SUBDIRS= . tkutil
|
|
EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/tk
|
|
WRKSRC= ${RUBY_WRKSRC}/ext/tk
|
|
CONFIGURE_ARGS+= --with-X11-dir=${X11BASE:Q}
|
|
|
|
REPLACE_RUBY_DIRS= sample
|
|
INSTALLATION_DIRS= ${RUBY_EG}/tk
|
|
|
|
post-extract:
|
|
${CHMOD} ${SHAREMODE} ${WRKSRC}/sample/tkextlib/tktable/tcllogo.gif
|
|
|
|
pre-install:
|
|
cd ${WRKSRC}; \
|
|
${FIND} . \( -name '*.bak' -o -name '*.orig' -o \
|
|
-name '*.orig_dist' \) -exec ${RM} -f {} \;
|
|
|
|
post-install:
|
|
cd ${WRKSRC}/sample; ${PAX} -rw . ${DESTDIR}${PREFIX}/${RUBY_EG}/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"
|