2004-10-03 02:12:51 +02:00
|
|
|
# $NetBSD: Makefile,v 1.59 2004/10/03 00:12:53 tv Exp $
|
2001-02-06 03:58:49 +01:00
|
|
|
|
2003-01-11 16:26:07 +01:00
|
|
|
DISTNAME= mew-2.3
|
2004-10-03 02:12:51 +02:00
|
|
|
PKGREVISION= 3
|
2001-02-06 03:58:49 +01:00
|
|
|
CATEGORIES= mail
|
2003-01-11 16:26:07 +01:00
|
|
|
MASTER_SITES= ftp://ftp.mew.org/pub/Mew/release/
|
2001-02-06 03:58:49 +01:00
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
|
2001-02-06 03:58:49 +01:00
|
|
|
HOMEPAGE= http://www.mew.org/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Messaging in the Emacs World
|
2001-02-06 03:58:49 +01:00
|
|
|
|
2003-01-11 16:26:07 +01:00
|
|
|
CONFLICTS=+ mew-xemacs-*
|
2002-05-08 01:27:47 +02:00
|
|
|
|
2003-07-22 01:57:13 +02:00
|
|
|
INFO_FILES= mew.info
|
|
|
|
|
2004-03-13 17:49:54 +01:00
|
|
|
USE_BUILDLINK3= yes
|
|
|
|
|
2004-05-08 15:35:20 +02:00
|
|
|
EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox emacs20
|
2001-02-06 03:58:49 +01:00
|
|
|
|
2003-01-11 16:26:07 +01:00
|
|
|
MEW_CONTRIB_DIR=${EMACS_LISPPREFIX}/mew/contrib
|
2001-10-10 07:45:15 +02:00
|
|
|
|
2003-01-11 16:26:07 +01:00
|
|
|
MAKE_FLAGS+= prefix=${PREFIX}
|
2002-09-15 08:24:21 +02:00
|
|
|
MAKE_FLAGS+= EMACS=${EMACS_BIN}
|
|
|
|
MAKE_FLAGS+= elispdir=${EMACS_LISPPREFIX}/mew
|
|
|
|
MAKE_FLAGS+= etcdir=${PREFIX}/share/mew
|
|
|
|
|
2003-01-11 16:26:07 +01:00
|
|
|
post-patch:
|
|
|
|
@${GREP} -lr /usr/local ${WRKSRC} | \
|
|
|
|
while read f; do \
|
|
|
|
${MV} $$f $${f}.orig; \
|
|
|
|
${SED} -e 's|/usr/local|${PREFIX}|g' $${f}.orig >$$f; \
|
2001-10-10 07:45:15 +02:00
|
|
|
done
|
|
|
|
|
|
|
|
post-install:
|
2003-01-11 16:26:07 +01:00
|
|
|
@${INSTALL_DATA_DIR} ${MEW_CONTRIB_DIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/contrib/00readme* \
|
|
|
|
${WRKSRC}/contrib/*.el ${MEW_CONTRIB_DIR}
|
2001-10-10 07:45:15 +02:00
|
|
|
|
2004-03-13 17:49:54 +01:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2002-09-15 08:24:21 +02:00
|
|
|
.include "../../mk/emacs.mk"
|
2001-02-06 03:58:49 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|