aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2004-04-09 22:15:45 +0800
committerknu <knu@FreeBSD.org>2004-04-09 22:15:45 +0800
commit65bbf38063b7a08d0767ae01572e8733d9f2e475 (patch)
tree72177fb803fb73531e3921f34a78a2282c19333a /www
parent5dc3ca1d731850a9f9c977720b70f2e3c973a713 (diff)
downloadfreebsd-ports-gnome-65bbf38063b7a08d0767ae01572e8733d9f2e475.tar.gz
freebsd-ports-gnome-65bbf38063b7a08d0767ae01572e8733d9f2e475.tar.zst
freebsd-ports-gnome-65bbf38063b7a08d0767ae01572e8733d9f2e475.zip
Add www/ruby-gtkhtml2, Ruby binding for GtkHtml2.
This is part of the Ruby/GNOME2 suite. PR: ports/65270 Submitted by: Jeremy Messenger <mezz7@cox.net>
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/ruby-gtkhtml2/Makefile45
-rw-r--r--www/ruby-gtkhtml2/pkg-descr3
-rw-r--r--www/ruby-gtkhtml2/pkg-plist7
4 files changed, 56 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index b9899d3d5afa..c74a9c8fbc70 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -525,6 +525,7 @@
SUBDIR += ruby-div
SUBDIR += ruby-fcgi
SUBDIR += ruby-google
+ SUBDIR += ruby-gtkhtml2
SUBDIR += ruby-http-access
SUBDIR += ruby-mnogosearch
SUBDIR += ruby-nora
diff --git a/www/ruby-gtkhtml2/Makefile b/www/ruby-gtkhtml2/Makefile
new file mode 100644
index 000000000000..a08dc4edc656
--- /dev/null
+++ b/www/ruby-gtkhtml2/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: Ruby/GtkHtml2
+# Date created: 05 April 2004
+# Whom: Mezz <mezz7@cox.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gtkhtml2
+PORTVERSION= ${RUBY_GNOME_PORTVERSION}
+CATEGORIES= www gnome 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= mezz7@cox.net
+COMMENT= Ruby binding for GtkHtml2
+
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2
+
+USE_RUBY= yes
+USE_GNOME= libgtkhtml
+USE_RUBY_EXTCONF= yes
+USE_XLIB= yes
+
+.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common"
+
+WRKSRC= ${RUBY_GNOME_WRKSRC}/gtkhtml2
+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/www/ruby-gtkhtml2/pkg-descr b/www/ruby-gtkhtml2/pkg-descr
new file mode 100644
index 000000000000..96e2931803c0
--- /dev/null
+++ b/www/ruby-gtkhtml2/pkg-descr
@@ -0,0 +1,3 @@
+Ruby/GtkHtml2 is a Ruby binding of GtkHtml2
+
+WWW: http://ruby-gnome2.sourceforge.jp/
diff --git a/www/ruby-gtkhtml2/pkg-plist b/www/ruby-gtkhtml2/pkg-plist
new file mode 100644
index 000000000000..826f5b5ae916
--- /dev/null
+++ b/www/ruby-gtkhtml2/pkg-plist
@@ -0,0 +1,7 @@
+%%RUBY_SITEARCHLIBDIR%%/gtkhtml2.so
+%%RUBY_SITELIBDIR%%/gtkhtml2.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gtkhtml.rb
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%