aboutsummaryrefslogtreecommitdiff
path: root/graphics/ruby-gdk_pixbuf2/Makefile
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2008-07-07 03:27:45 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2008-07-07 03:27:45 +0000
commit453bf8ce7a9a41a7b88a682a6c093bb243d1e404 (patch)
treead46b6ca88a3bfcf98ddb7f78ffa103e0cc8baa3 /graphics/ruby-gdk_pixbuf2/Makefile
parentadff482a33a8297df32f79793367001abd7561ed (diff)
downloadports-453bf8ce7a9a41a7b88a682a6c093bb243d1e404.tar.gz
ports-453bf8ce7a9a41a7b88a682a6c093bb243d1e404.zip
Notes
Diffstat (limited to 'graphics/ruby-gdk_pixbuf2/Makefile')
-rw-r--r--graphics/ruby-gdk_pixbuf2/Makefile7
1 files changed, 4 insertions, 3 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}/