pkgsrc/mail/mew/Makefile

42 lines
996 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.59 2004/10/03 00:12:53 tv Exp $
DISTNAME= mew-2.3
PKGREVISION= 3
CATEGORIES= mail
MASTER_SITES= ftp://ftp.mew.org/pub/Mew/release/
2003-07-17 23:41:05 +02:00
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
HOMEPAGE= http://www.mew.org/
COMMENT= Messaging in the Emacs World
CONFLICTS=+ mew-xemacs-*
2003-07-22 01:57:13 +02:00
INFO_FILES= mew.info
USE_BUILDLINK3= yes
EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox emacs20
MEW_CONTRIB_DIR=${EMACS_LISPPREFIX}/mew/contrib
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
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 "../../devel/zlib/buildlink3.mk"
2002-09-15 08:24:21 +02:00
.include "../../mk/emacs.mk"
.include "../../mk/bsd.pkg.mk"