diff options
author | pav <pav@FreeBSD.org> | 2006-01-14 15:50:47 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-01-14 15:50:47 +0000 |
commit | 605ca31d67b79ab83a763d41eac785447fc176d8 (patch) | |
tree | e7484b278c6a590967078d2d47c1e252c7877a17 /x11-toolkits | |
parent | d8b155853f467c2e22fa85ceeafd0775357d205d (diff) | |
download | FreeBSD-ports-605ca31d67b79ab83a763d41eac785447fc176d8.zip FreeBSD-ports-605ca31d67b79ab83a763d41eac785447fc176d8.tar.gz |
- Build and install tkutil extension too
Diffstat (limited to 'x11-toolkits')
-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 |