summaryrefslogtreecommitdiff
path: root/x11-toolkits/ruby-pango
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-02-09 12:58:26 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-02-09 12:58:26 +0000
commit49047447ec45f0df4e477a0041168c20e16156d9 (patch)
treedb4f6ab4bef074c36d7275c1d3e5eea8e59670a9 /x11-toolkits/ruby-pango
parentAfter updating GNOME2, it seems ABI compatibility of GTK was (diff)
Update the Ruby/GNOME2 suite to 0.3.0.
Add ruby-pango, a Ruby binding for Pango.
Notes
Notes: svn path=/head/; revision=75184
Diffstat (limited to 'x11-toolkits/ruby-pango')
-rw-r--r--x11-toolkits/ruby-pango/Makefile44
-rw-r--r--x11-toolkits/ruby-pango/pkg-comment1
-rw-r--r--x11-toolkits/ruby-pango/pkg-descr3
-rw-r--r--x11-toolkits/ruby-pango/pkg-plist11
4 files changed, 59 insertions, 0 deletions
diff --git a/x11-toolkits/ruby-pango/Makefile b/x11-toolkits/ruby-pango/Makefile
new file mode 100644
index 000000000000..8c02fde4621e
--- /dev/null
+++ b/x11-toolkits/ruby-pango/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: Ruby/Pango
+# Date created: 9 February
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pango
+PORTVERSION= ${RUBY_GNOME_PORTVERSION}
+CATEGORIES= x11-toolkits ruby
+MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
+MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ${RUBY_GNOME_DISTNAME}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+LIB_DEPENDS= pango-1.0.200:${PORTSDIR}/x11-toolkits/pango
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/glib2.so:${PORTSDIR}/devel/ruby-glib2
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+USE_XLIB= yes
+
+.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common"
+
+WRKSRC= ${RUBY_GNOME_WRKSRC}/${PORTNAME}
+INSTALL_TARGET= site-install
+
+DOCS= ChangeLog \
+ README
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODEXAMPLESDIR}
+ ${CP} -R ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
+ ${MKDIR} ${RUBY_MODDOCDIR}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/ruby-pango/pkg-comment b/x11-toolkits/ruby-pango/pkg-comment
new file mode 100644
index 000000000000..85342e39a6db
--- /dev/null
+++ b/x11-toolkits/ruby-pango/pkg-comment
@@ -0,0 +1 @@
+Ruby binding for Pango
diff --git a/x11-toolkits/ruby-pango/pkg-descr b/x11-toolkits/ruby-pango/pkg-descr
new file mode 100644
index 000000000000..9fddb32d0afc
--- /dev/null
+++ b/x11-toolkits/ruby-pango/pkg-descr
@@ -0,0 +1,3 @@
+Ruby/Pango is a Ruby binding for Pango.
+
+WWW: http://ruby-gnome2.sourceforge.net/
diff --git a/x11-toolkits/ruby-pango/pkg-plist b/x11-toolkits/ruby-pango/pkg-plist
new file mode 100644
index 000000000000..e62a3be36341
--- /dev/null
+++ b/x11-toolkits/ruby-pango/pkg-plist
@@ -0,0 +1,11 @@
+%%RUBY_SITEARCHLIBDIR%%/pango.so
+%%RUBY_SITELIBDIR%%/pango.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/attribute.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gdk_layout.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/label.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/parse.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample.txt
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%