36 lines
921 B
Makefile
36 lines
921 B
Makefile
# $NetBSD: Makefile,v 1.50 2003/01/11 16:02:35 uebayasi Exp $
|
|
|
|
DISTNAME= mew-2.3
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ftp://ftp.mew.org/pub/Mew/release/
|
|
|
|
MAINTAINER= tech-pkg-ja@jp.netbsd.org
|
|
HOMEPAGE= http://www.mew.org/
|
|
COMMENT= Messaging in the Emacs World
|
|
|
|
CONFLICTS=+ mew-xemacs-*
|
|
|
|
EMACS_VERSION_ACCEPTED= emacs21 emacs20
|
|
|
|
MEW_CONTRIB_DIR=${EMACS_LISPPREFIX}/mew/contrib
|
|
|
|
MAKE_FLAGS+= prefix=${PREFIX}
|
|
MAKE_FLAGS+= EMACS=${EMACS_BIN}
|
|
MAKE_FLAGS+= elispdir=${EMACS_LISPPREFIX}/mew
|
|
MAKE_FLAGS+= etcdir=${PREFIX}/share/mew
|
|
|
|
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; \
|
|
done
|
|
|
|
post-install:
|
|
@${INSTALL_DATA_DIR} ${MEW_CONTRIB_DIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/contrib/00readme* \
|
|
${WRKSRC}/contrib/*.el ${MEW_CONTRIB_DIR}
|
|
|
|
.include "../../mk/emacs.mk"
|
|
.include "../../mk/texinfo.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|