c487cb967a
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
41 lines
996 B
Makefile
41 lines
996 B
Makefile
# $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/
|
|
|
|
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
|
|
HOMEPAGE= http://www.mew.org/
|
|
COMMENT= Messaging in the Emacs World
|
|
|
|
CONFLICTS=+ mew-xemacs-*
|
|
|
|
INFO_FILES= mew.info
|
|
|
|
USE_BUILDLINK3= yes
|
|
|
|
EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox 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 "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/emacs.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|