aboutsummaryrefslogtreecommitdiffstats
path: root/www/ruby-gtkhtml2/Makefile
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/ruby-gtkhtml2/Makefile
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/ruby-gtkhtml2/Makefile')
-rw-r--r--www/ruby-gtkhtml2/Makefile45
1 files changed, 45 insertions, 0 deletions
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>