summaryrefslogtreecommitdiffstats
path: root/devel/ruby-libglade2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ruby-libglade2/Makefile')
-rw-r--r--devel/ruby-libglade2/Makefile22
1 files changed, 12 insertions, 10 deletions
diff --git a/devel/ruby-libglade2/Makefile b/devel/ruby-libglade2/Makefile
index 6405ce9..c4dbfbc 100644
--- a/devel/ruby-libglade2/Makefile
+++ b/devel/ruby-libglade2/Makefile
@@ -1,13 +1,12 @@
-# New ports collection makefile for: Ruby-libglade
+# New ports collection makefile for: Ruby/Libglade2
# Date created: 8 February 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
-PORTNAME= libglade
+PORTNAME= libglade2
PORTVERSION= ${RUBY_GNOME_PORTVERSION}
-PORTEPOCH= 1
CATEGORIES= devel ruby gnome
MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
@@ -17,25 +16,28 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
-RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk.so:${PORTSDIR}/x11-toolkits/ruby-gtk \
- ${RUBY_SITEARCHLIBDIR}/gnome.so:${PORTSDIR}/x11/ruby-gnome
-LIB_DEPENDS= glade.4:${PORTSDIR}/devel/libglade
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2
+LIB_DEPENDS= glade-2.0.0:${PORTSDIR}/devel/libglade2
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
-USE_GNOME= yes
-.include "${.CURDIR}/../../x11/ruby-gnome/Makefile.common"
+.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common"
-WRKSRC= ${RUBY_GNOME_WRKSRC}/${PORTNAME}
+WRKSRC= ${RUBY_GNOME_WRKSRC}/libglade
INSTALL_TARGET= site-install
+DOCS= ChangeLog \
+ README
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
${MKDIR} ${RUBY_MODDOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_MODDOCDIR}/
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
.endif
.include <bsd.port.mk>
OpenPOWER on IntegriCloud