diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-10-05 12:36:34 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-10-05 12:36:34 +0800 |
commit | 6de25f6b4acdfcf81d5d4ae32ad6e5d32a5483f5 (patch) | |
tree | 6633716aea6a85613fd898e328fcd209963d9341 /devel/ruby-glib2/Makefile | |
parent | 2c7fbbe9497418465b48ce0eb8fef843e1214e13 (diff) | |
download | marcuscom-ports-6de25f6b4acdfcf81d5d4ae32ad6e5d32a5483f5.tar marcuscom-ports-6de25f6b4acdfcf81d5d4ae32ad6e5d32a5483f5.tar.gz marcuscom-ports-6de25f6b4acdfcf81d5d4ae32ad6e5d32a5483f5.tar.bz2 marcuscom-ports-6de25f6b4acdfcf81d5d4ae32ad6e5d32a5483f5.tar.lz marcuscom-ports-6de25f6b4acdfcf81d5d4ae32ad6e5d32a5483f5.tar.xz marcuscom-ports-6de25f6b4acdfcf81d5d4ae32ad6e5d32a5483f5.tar.zst marcuscom-ports-6de25f6b4acdfcf81d5d4ae32ad6e5d32a5483f5.zip |
Update to SVN version, which fix build with GNOME 2.20 stuff. The version is
0.16.0.20071004 (CVS at YYYYMMDD)
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9727 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/ruby-glib2/Makefile')
-rw-r--r-- | devel/ruby-glib2/Makefile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/devel/ruby-glib2/Makefile b/devel/ruby-glib2/Makefile new file mode 100644 index 000000000..80377edd1 --- /dev/null +++ b/devel/ruby-glib2/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: Ruby/GLib2 +# Date created: 24 November 2002 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD: ports/devel/ruby-glib2/Makefile,v 1.17 2007/01/02 00:57:01 mezz Exp $ +# $MCom: ports/devel/ruby-glib2/Makefile,v 1.2 2005/10/17 07:05:39 mezz Exp $ +# + +PORTNAME= glib2 +PORTVERSION= ${RUBY_GNOME_PORTVERSION} +CATEGORIES= devel 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= mezz@FreeBSD.org +COMMENT= Ruby binding for GLib2 + +USE_RUBY= yes +USE_GNOME= glib20 +USE_RUBY_EXTCONF= yes + +.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common" + +WRKSRC= ${RUBY_GNOME_WRKSRC}/glib +INSTALL_TARGET= site-install + +DOCS= COPYING.LIB ChangeLog README + +post-patch: general-patch + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ + ${WRKSRC}/sample/utils.rb + @${FIND} ${WRKSRC} -name '*.bak' -delete + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${RUBY_MODEXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/ + @${INSTALL_DATA} ${WRKSRC}/tests/* ${RUBY_MODEXAMPLESDIR}/ + @${MKDIR} ${RUBY_MODDOCDIR} +.for f in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ +.endfor +.endif + +.include <bsd.port.mk> |