pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/mew Since cnews and snews scripts are Ruby script...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dc93c032a8b0
branches:  trunk
changeset: 399084:dc93c032a8b0
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Sep 13 01:28:50 2009 +0000

description:
Since cnews and snews scripts are Ruby scripts which use sqlite3
interface, replace interpreter line and depends on ruby-sqlite3
package.

Bump PKGREVISION.

diffstat:

 mail/mew/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (42 lines):

diff -r 40d2ecb19544 -r dc93c032a8b0 mail/mew/Makefile
--- a/mail/mew/Makefile Sun Sep 13 01:27:35 2009 +0000
+++ b/mail/mew/Makefile Sun Sep 13 01:28:50 2009 +0000
@@ -1,18 +1,21 @@
-# $NetBSD: Makefile,v 1.78 2009/08/14 17:21:20 minskim Exp $
+# $NetBSD: Makefile,v 1.79 2009/09/13 01:28:50 taca Exp $
 
 DISTNAME=      mew-6.2
 PKGNAME=       ${EMACS_PKGNAME_PREFIX}${DISTNAME}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    mail
 MASTER_SITES=  http://www.mew.org/Release/
 
 MAINTAINER=    uebayasi%NetBSD.org@localhost
 HOMEPAGE=      http://www.mew.org/
 COMMENT=       Messaging in the Emacs World
+LICENSE=       modified-bsd
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 INSTALLATION_DIRS=     ${MEW_CONTRIB_DIR:C|^${PREFIX}/||}
 
+DEPENDS+=      ${RUBY_PKGPREFIX}-sqlite3>=1.1:../../databases/ruby-sqlite3
+
 CONFLICTS+=    mew-xemacs-[0-9]* incm-[0-9]*
 
 INFO_FILES=    yes
@@ -39,6 +42,8 @@
 SUBST_FILES.local=     Makefile bin/configure info/Makefile
 SUBST_SED.local=       -e 's|/usr/local|${PREFIX}|g'
 
+REPLACE_RUBY=          bin/cmew bin/smew
+
 post-configure:
        ${MV} ${WRKSRC}/mew-key.el ${WRKSRC}/mew-key.el.1
        ${SED} -e 's|@ICONDIR@|${EMACS_ETCPREFIX}/mew|g' \
@@ -49,4 +54,5 @@
 
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../editors/emacs/modules.mk"
+.include "../../lang/ruby/replace.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index