blob: ab9b9dffb4f2c99bc2fd71ca7a8fcfe4819a420e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $NetBSD: Makefile,v 1.3 2003/07/17 21:46:30 grant Exp $
DISTNAME= mew-3.2
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
INFO_FILES= mew.info
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
@${FIND} ${WRKSRC} -name '*.orig' -exec ${RM} {} \;
post-install:
@${INSTALL_DATA_DIR} ${MEW_CONTRIB_DIR}
@${INSTALL_DATA} ${WRKSRC}/contrib/* ${MEW_CONTRIB_DIR}
.include "../../mk/emacs.mk"
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"
|