From ed33e613d553ff7093cf130f1714d275f93de439 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Fri, 9 Apr 2004 14:15:45 +0000 Subject: Add www/ruby-gtkhtml2, Ruby binding for GtkHtml2. This is part of the Ruby/GNOME2 suite. PR: ports/65270 Submitted by: Jeremy Messenger --- www/Makefile | 1 + www/ruby-gtkhtml2/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ www/ruby-gtkhtml2/pkg-descr | 3 +++ www/ruby-gtkhtml2/pkg-plist | 7 +++++++ 4 files changed, 56 insertions(+) create mode 100644 www/ruby-gtkhtml2/Makefile create mode 100644 www/ruby-gtkhtml2/pkg-descr create mode 100644 www/ruby-gtkhtml2/pkg-plist 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 +# +# $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 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%% -- cgit v1.2.3