diff options
-rw-r--r-- | x11-toolkits/ruby-tk/Makefile | 6 | ||||
-rw-r--r-- | x11-toolkits/ruby-tk/pkg-plist | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/x11-toolkits/ruby-tk/Makefile b/x11-toolkits/ruby-tk/Makefile index ca48da0..0a99288 100644 --- a/x11-toolkits/ruby-tk/Makefile +++ b/x11-toolkits/ruby-tk/Makefile @@ -7,6 +7,7 @@ PORTNAME= tk PORTVERSION= ${RUBY_PORTVERSION} +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES+= x11-toolkits ruby tk${TK_VERSION:C/[^0-9]//g} tcl${TK_VERSION:C/[^0-9]//g} MASTER_SITES= # none @@ -19,6 +20,7 @@ BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/${RUBY_PORT}:patch USE_RUBY= yes USE_RUBY_EXTCONF= yes +RUBY_EXTCONF_SUBDIRS= . tkutil USE_XLIB= yes WRKSRC= ${WRKDIR}/${PORTNAME} @@ -56,7 +58,11 @@ do-extract: ${MKDIR} ${WRKDIR} ${LN} -sf `cd ${PORTSDIR}/${RUBY_PORT}; ${MAKE} -V WRKDIR`/${PORTNAME} ${WRKDIR}/ +post-build: + @(cd ${BUILD_WRKSRC}/tkutil; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) + post-install: + @(cd ${INSTALL_WRKSRC}/tkutil; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODEXAMPLESDIR} ${CP} -R ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/ diff --git a/x11-toolkits/ruby-tk/pkg-plist b/x11-toolkits/ruby-tk/pkg-plist index a6c09b6..560262a 100644 --- a/x11-toolkits/ruby-tk/pkg-plist +++ b/x11-toolkits/ruby-tk/pkg-plist @@ -1,4 +1,5 @@ %%RUBY18_ONLY%%%%RUBY_ARCHLIBDIR%%/tcltklib.so +%%RUBY18_ONLY%%%%RUBY_ARCHLIBDIR%%/tkutil.so %%RUBY_LIBDIR%%/tk.rb %%RUBY_LIBDIR%%/tkafter.rb %%RUBY_LIBDIR%%/tkbgerror.rb |