Permalink
Browse files

* Adjust new ruby package's framework.

* Add LICENSE.
* Install minitar command with ${RUBY_VER} suffix and add ALTERNATIVES.

Bump PKGREVISION.
  • Loading branch information...
1 parent fb956fc commit a1905c4f4a29003fb1dc68f4e224f2859c421371 taca committed Sep 10, 2010
@@ -0,0 +1 @@
+bin/minitar @PREFIX@/bin/minitar@RUBY_VER@
@@ -1,15 +1,18 @@
-# $NetBSD: Makefile,v 1.3 2009/04/07 21:06:54 seb Exp $
+# $NetBSD: Makefile,v 1.4 2010/09/10 03:58:06 taca Exp $
DISTNAME= archive-tar-minitar-0.5.2
-PKGREVISION= 1
-PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
+PKGREVISION= 2
CATEGORIES= graphics
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://rubyforge.org/projects/ruwiki/
COMMENT= Pure Ruby library for handling POSIX tar archives
+LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 OR ruby-license
-GEM_BUILD= gemspec
+# XXX: graphics/ruby-color depends on minitar but using command minitar?
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/bin/minitar \
+ ${DESTDIR}${PREFIX}/bin/minitar${RUBY_VER}
-.include "../../misc/rubygems/rubygem.mk"
+.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:28:17 joerg Exp $
-bin/minitar
+@comment $NetBSD: PLIST,v 1.3 2010/09/10 03:58:06 taca Exp $
+bin/minitar${RUBY_VER}
${GEM_HOME}/cache/archive-tar-minitar-${PKGVERSION}.gem
${GEM_LIBDIR}/ChangeLog
${GEM_LIBDIR}/Install

0 comments on commit a1905c4

Please sign in to comment.