diff options
Diffstat (limited to 'x11-toolkits/ruby-tk/Makefile')
-rw-r--r-- | x11-toolkits/ruby-tk/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-toolkits/ruby-tk/Makefile b/x11-toolkits/ruby-tk/Makefile index ca48da0e7c9a..0a99288b8c6b 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}/ |