pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/ruby-hpricot * Use lang/ruby/gem.mk instead o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/831765a2fb85
branches:  trunk
changeset: 580137:831765a2fb85
user:      taca <taca%pkgsrc.org@localhost>
date:      Fri Sep 10 08:13:52 2010 +0000

description:
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk.
* Add LICENSE.
* Remove default value of GEM_BUILD.

diffstat:

 textproc/ruby-hpricot/Makefile |  10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r 8f31e00a847c -r 831765a2fb85 textproc/ruby-hpricot/Makefile
--- a/textproc/ruby-hpricot/Makefile    Fri Sep 10 08:13:23 2010 +0000
+++ b/textproc/ruby-hpricot/Makefile    Fri Sep 10 08:13:52 2010 +0000
@@ -1,17 +1,15 @@
-# $NetBSD: Makefile,v 1.5 2009/11/23 14:40:02 fhajny Exp $
+# $NetBSD: Makefile,v 1.6 2010/09/10 08:13:52 taca Exp $
 
 DISTNAME=      hpricot-0.8.2
-PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc
 
 MAINTAINER=    minskim%NetBSD.org@localhost
 HOMEPAGE=      http://wiki.github.com/hpricot/hpricot
 COMMENT=       Fast, enjoyable HTML parser for Ruby
-
-GEM_BUILD=     gemspec
+LICENSE=       mit
 
 post-extract:
-       cd ${WRKSRC}; ${FIND} . -xdev -type f -print | ${XARGS} ${CHMOD} g-w
+       ${FIND} ${WRKSRC} -type f -exec ${CHMOD} g-w {} \;
 
-.include "../../misc/rubygems/rubygem.mk"
+.include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index