summaryrefslogtreecommitdiff
path: root/mail/mew
diff options
context:
space:
mode:
authortaca <taca>2009-09-13 01:28:50 +0000
committertaca <taca>2009-09-13 01:28:50 +0000
commitb04d6a35857d07763849c9ab0f34826ffde5ac13 (patch)
treed6fb03c33e90227151c2e84cef3db5d8202ee113 /mail/mew
parent67e1b429cb6c4e8b1bb4f4bc6e17a04e6c544fb9 (diff)
downloadpkgsrc-b04d6a35857d07763849c9ab0f34826ffde5ac13.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"