summaryrefslogtreecommitdiff
path: root/mail/mew
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2009-09-13 01:28:50 +0000
committertaca <taca@pkgsrc.org>2009-09-13 01:28:50 +0000
commit603160709acf7e2c695a3ff867346eb6958a129b (patch)
treed6fb03c33e90227151c2e84cef3db5d8202ee113 /mail/mew
parent8fa31c976057261f2143ab2bed8a706eb8555ac1 (diff)
downloadpkgsrc-603160709acf7e2c695a3ff867346eb6958a129b.tar.gz
Since cnews and snews scripts are Ruby scripts which use sqlite3
interface, replace interpreter line and depends on ruby-sqlite3 package. Bump PKGREVISION.
Diffstat (limited to 'mail/mew')
-rw-r--r--mail/mew/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/mail/mew/Makefile b/mail/mew/Makefile
index eae41653be7..dd22359422d 100644
--- a/mail/mew/Makefile
+++ b/mail/mew/Makefile
@@ -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
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_STAGE.local= post-configure
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 @@ post-install:
.include "../../devel/zlib/buildlink3.mk"
.include "../../editors/emacs/modules.mk"
+.include "../../lang/ruby/replace.mk"
.include "../../mk/bsd.pkg.mk"