2006-02-21 11:15:35 +01:00
|
|
|
# $NetBSD: Makefile,v 1.26 2006/02/21 10:15:35 rillig Exp $
|
2001-02-19 07:16:27 +01:00
|
|
|
|
2005-04-11 20:06:00 +02:00
|
|
|
DISTNAME= wl-2.14.0
|
2005-08-28 06:25:28 +02:00
|
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
2001-02-19 07:16:27 +01:00
|
|
|
CATEGORIES= mail
|
2005-03-06 20:24:55 +01:00
|
|
|
MASTER_SITES= ftp://ftp.gohome.org/wl/stable/
|
2001-02-19 07:16:27 +01:00
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
|
2001-02-19 07:16:27 +01:00
|
|
|
HOMEPAGE= http://www.gohome.org/wl/
|
2003-07-21 18:56:41 +02:00
|
|
|
COMMENT= Mail/news management system with IMAP4rev1 support for Emacs
|
2001-02-19 07:16:27 +01:00
|
|
|
|
2005-03-06 20:24:55 +01:00
|
|
|
|
2005-08-28 06:25:28 +02:00
|
|
|
DEPENDS+= ${EMACS_PKGNAME_PREFIX}apel>=10.6:../../devel/apel
|
|
|
|
DEPENDS+= ${EMACS_PKGNAME_PREFIX}flim>=1.14.7:../../devel/flim
|
|
|
|
DEPENDS+= ${EMACS_PKGNAME_PREFIX}semi>=1.14.6:../../devel/semi
|
|
|
|
DEPENDS+= ${EMACS_PKGNAME_PREFIX}bbdb-[0-9]*:../../misc/bbdb
|
2002-10-22 17:11:40 +02:00
|
|
|
# XXX please someone adjust paths and PLIST for XEmacs...
|
2004-05-08 15:35:20 +02:00
|
|
|
EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox emacs20
|
2001-07-23 17:39:09 +02:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_FLAGS+= LISPDIR=${EMACS_LISPPREFIX:Q}
|
2006-02-21 11:15:35 +01:00
|
|
|
MAKE_FLAGS+= PIXMAPDIR=${PREFIX:Q}/share/wl
|
2001-07-23 17:39:09 +02:00
|
|
|
INSTALL_TARGET= install install-info
|
2001-07-24 10:17:18 +02:00
|
|
|
INFO_FILES= wl.info wl-ja.info
|
|
|
|
|
2002-10-22 17:11:40 +02:00
|
|
|
.include "../../mk/emacs.mk"
|
|
|
|
|
2001-07-23 17:39:09 +02:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/wl
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/wl
|
|
|
|
|
2003-01-28 03:56:23 +01:00
|
|
|
PLIST_SRC= ${WRKDIR}/PLIST
|
|
|
|
|
|
|
|
post-build:
|
2006-02-21 11:15:35 +01:00
|
|
|
@set -e; \
|
|
|
|
{ \
|
|
|
|
${CAT} ${PKGDIR:Q}/PLIST.header; \
|
|
|
|
${FIND} ${WRKSRC:Q} -name '*.elc' -print | \
|
2003-01-28 03:56:23 +01:00
|
|
|
while read f; do \
|
2006-02-21 11:15:35 +01:00
|
|
|
g=`basename "$$f"`; \
|
|
|
|
${ECHO} '$${EMACS_LISPPREFIX}/wl/'$${g%.elc}.el; \
|
|
|
|
${ECHO} '$${EMACS_LISPPREFIX}/wl/'$$g; \
|
2003-01-28 04:08:01 +01:00
|
|
|
done | ${SORT}; \
|
2006-02-21 11:15:35 +01:00
|
|
|
${CAT} ${PKGDIR:Q}/PLIST.footer; \
|
|
|
|
} > ${PLIST_SRC}
|
2003-01-28 03:56:23 +01:00
|
|
|
|
2001-07-23 17:39:09 +02:00
|
|
|
post-install:
|
2006-02-21 11:15:35 +01:00
|
|
|
@${INSTALL_DATA_DIR} ${DOCDIR:Q}/en ${DOCDIR:Q}/ja
|
|
|
|
@set -e; \
|
|
|
|
for f in BUGS NEWS README; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC:Q}/"$$f" ${DOCDIR:Q}/en; \
|
|
|
|
${INSTALL_DATA} ${WRKSRC:Q}/"$$f".ja ${DOCDIR:Q}/ja; \
|
2003-01-25 04:49:42 +01:00
|
|
|
done
|
2006-02-21 11:15:35 +01:00
|
|
|
@${INSTALL_DATA_DIR} ${EXAMPLESDIR:Q}/en ${EXAMPLESDIR:Q}/ja
|
|
|
|
@${INSTALL_DATA} ${WRKSRC:Q}/samples/en/dot.* ${EXAMPLESDIR:Q}/en
|
|
|
|
@${INSTALL_DATA} ${WRKSRC:Q}/samples/ja/dot.* ${EXAMPLESDIR:Q}/ja
|
2001-02-19 07:16:27 +01:00
|
|
|
|
2005-03-06 20:24:55 +01:00
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
2001-02-19 07:16:27 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|