diff options
author | Jeremy Messenger <mezz@FreeBSD.org> | 2008-07-07 03:27:45 +0000 |
---|---|---|
committer | Jeremy Messenger <mezz@FreeBSD.org> | 2008-07-07 03:27:45 +0000 |
commit | 453bf8ce7a9a41a7b88a682a6c093bb243d1e404 (patch) | |
tree | ad46b6ca88a3bfcf98ddb7f78ffa103e0cc8baa3 /x11-toolkits/ruby-gtkglext | |
parent | adff482a33a8297df32f79793367001abd7561ed (diff) |
- Update to 0.16.0.20080706, it's more than 0.17 RC1.
- ${RUBY_SITEARCHLIBDIR} -> ${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}
in the *_DEPENDS, that way it will finding correct file when I tweak the
PREFIX.
- NOPORTDOCS -> NOPORTEXAMPLES on example/demo/test files.
Notes
Notes:
svn path=/head/; revision=216428
Diffstat (limited to 'x11-toolkits/ruby-gtkglext')
-rw-r--r-- | x11-toolkits/ruby-gtkglext/Makefile | 9 | ||||
-rw-r--r-- | x11-toolkits/ruby-gtkglext/pkg-plist | 14 |
2 files changed, 12 insertions, 11 deletions
diff --git a/x11-toolkits/ruby-gtkglext/Makefile b/x11-toolkits/ruby-gtkglext/Makefile index f4b182ef30ac..3ad90363dd77 100644 --- a/x11-toolkits/ruby-gtkglext/Makefile +++ b/x11-toolkits/ruby-gtkglext/Makefile @@ -8,7 +8,6 @@ PORTNAME= gtkglext PORTVERSION= ${RUBY_GNOME_PORTVERSION} -PORTREVISION= 1 CATEGORIES= x11-toolkits ruby MASTER_SITES= ${RUBY_GNOME_MASTER_SITES} MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} @@ -20,8 +19,8 @@ MAINTAINER= mezz@FreeBSD.org COMMENT= Ruby binding for GtkGLExt LIB_DEPENDS= gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext -RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 \ - ${RUBY_SITEARCHLIBDIR}/opengl.so:${PORTSDIR}/graphics/ruby-opengl +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 \ + ${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}/opengl.so:${PORTSDIR}/graphics/ruby-opengl USE_RUBY= yes USE_RUBY_EXTCONF= yes @@ -36,9 +35,11 @@ DOCS= ChangeLog README post-patch: general-patch post-install: -.if !defined(NOPORTDOCS) +.if !defined(NOPORTEXAMPLES) @${MKDIR} ${RUBY_MODEXAMPLESDIR} @${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/ +.endif +.if !defined(NOPORTDOCS) @${MKDIR} ${RUBY_MODDOCDIR} .for f in ${DOCS} @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ diff --git a/x11-toolkits/ruby-gtkglext/pkg-plist b/x11-toolkits/ruby-gtkglext/pkg-plist index 3f374291bbbe..3881762c5c6a 100644 --- a/x11-toolkits/ruby-gtkglext/pkg-plist +++ b/x11-toolkits/ruby-gtkglext/pkg-plist @@ -2,13 +2,13 @@ %%RUBY_SITEARCHLIBDIR%%/gtkglext.so %%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog %%PORTDOCS%%%%RUBY_MODDOCDIR%%/README -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/font.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtkglut.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/share-lists.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/simple-mixed.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/simple.rb -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% -%%PORTDOCS%%@dirrmtry %%RUBY_EXAMPLESDIR%% +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/font.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/gtkglut.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/share-lists.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/simple-mixed.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/simple.rb +%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%% +%%PORTEXAMPLES%%@dirrmtry %%RUBY_EXAMPLESDIR%% %%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% %%PORTDOCS%%@dirrmtry %%RUBY_DOCDIR%% @dirrmtry %%RUBY_SITEARCHLIBDIR%% |