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 /graphics/ruby-gdk_pixbuf2 | |
parent | - add regression-test (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.
Diffstat (limited to 'graphics/ruby-gdk_pixbuf2')
-rw-r--r-- | graphics/ruby-gdk_pixbuf2/Makefile | 7 | ||||
-rw-r--r-- | graphics/ruby-gdk_pixbuf2/pkg-plist | 34 |
2 files changed, 21 insertions, 20 deletions
diff --git a/graphics/ruby-gdk_pixbuf2/Makefile b/graphics/ruby-gdk_pixbuf2/Makefile index 9ae4192a168a..41ad6399883d 100644 --- a/graphics/ruby-gdk_pixbuf2/Makefile +++ b/graphics/ruby-gdk_pixbuf2/Makefile @@ -8,7 +8,6 @@ PORTNAME= gdk_pixbuf2 PORTVERSION= ${RUBY_GNOME_PORTVERSION} -PORTREVISION= 1 CATEGORIES= graphics ruby gnome MASTER_SITES= ${RUBY_GNOME_MASTER_SITES} MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} @@ -19,7 +18,7 @@ DIST_SUBDIR= ruby MAINTAINER= mezz@FreeBSD.org COMMENT= Ruby binding for GdkPixbuf2 -RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/glib2.so:${PORTSDIR}/devel/ruby-glib2 +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}/glib2.so:${PORTSDIR}/devel/ruby-glib2 USE_RUBY= yes USE_GNOME= gtk20 @@ -35,9 +34,11 @@ DOCS= COPYING.LIB 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/graphics/ruby-gdk_pixbuf2/pkg-plist b/graphics/ruby-gdk_pixbuf2/pkg-plist index 05f047db0ae8..d0023ca6d0d3 100644 --- a/graphics/ruby-gdk_pixbuf2/pkg-plist +++ b/graphics/ruby-gdk_pixbuf2/pkg-plist @@ -3,23 +3,23 @@ %%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING.LIB %%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog %%PORTDOCS%%%%RUBY_MODDOCDIR%%/README -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/anim.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/composite.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/flip.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/floppybuddy.gif -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/format.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gnome-foot.png -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/inline.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/loader.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/pixdata.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rotate.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/save.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/scale.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/simpleanim.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/utils.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/xpm.rb -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% -%%PORTDOCS%%@dirrmtry %%RUBY_EXAMPLESDIR%% +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/anim.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/composite.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/flip.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/floppybuddy.gif +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/format.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/gnome-foot.png +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/inline.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/loader.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/pixdata.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/rotate.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/save.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/scale.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/simpleanim.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/utils.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/xpm.rb +%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%% +%%PORTEXAMPLES%%@dirrmtry %%RUBY_EXAMPLESDIR%% %%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% %%PORTDOCS%%@dirrmtry %%RUBY_DOCDIR%% @dirrmtry %%RUBY_SITEARCHLIBDIR%% |