2008-11-29 03:55:41 +01:00
|
|
|
# $NetBSD: Makefile,v 1.40 2008/11/29 02:55:41 obache 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}
|
2008-11-29 03:55:41 +01:00
|
|
|
PKGREVISION= 7
|
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
|
|
|
|
2008-10-11 11:31:54 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2006-04-08 21:02:18 +02:00
|
|
|
BUILD_TARGET= all info
|
|
|
|
INSTALL_TARGET= install install-info
|
2008-10-11 11:31:54 +02:00
|
|
|
MAKE_FLAGS+= INFODIR=${DESTDIR:Q}${EMACS_INFOPREFIX:Q}
|
|
|
|
MAKE_FLAGS+= LISPDIR=${DESTDIR:Q}${EMACS_LISPPREFIX:Q}
|
2006-07-22 19:26:59 +02:00
|
|
|
MAKE_FLAGS+= EMACS=${EMACS_FLAVOR:Q}
|
2008-10-11 11:31:54 +02:00
|
|
|
MAKE_FLAGS+= PIXMAPDIR=${DESTDIR:Q}${PREFIX:Q}/share/wl
|
2008-11-29 03:55:41 +01:00
|
|
|
INFO_FILES= yes
|
|
|
|
|
|
|
|
SUBST_CLASSES+= pixmap
|
|
|
|
SUBST_STAGE.pixmap= post-configure
|
|
|
|
SUBST_MESSAGE.pixmap= Fixing wl-icon-directory default value
|
|
|
|
SUBST_FILES.pixmap= wl/wl-vars.el
|
|
|
|
SUBST_VARS.pixmap= PREFIX
|
2001-07-24 10:17:18 +02:00
|
|
|
|
2006-04-08 21:02:18 +02:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/wl
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/wl
|
2008-10-11 11:31:54 +02:00
|
|
|
INSTALLATION_DIRS= ${DOCDIR}/en ${DOCDIR}/ja \
|
|
|
|
${EXAMPLESDIR}/en ${EXAMPLESDIR}/ja \
|
|
|
|
${EMACS_INFOPREFIX}
|
2003-01-28 03:56:23 +01:00
|
|
|
|
2008-10-13 10:07:02 +02:00
|
|
|
EMACS_BUILDLINK=# defined
|
|
|
|
|
2001-07-23 17:39:09 +02:00
|
|
|
post-install:
|
2006-02-21 11:15:35 +01:00
|
|
|
@set -e; \
|
|
|
|
for f in BUGS NEWS README; do \
|
2008-10-11 11:31:54 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC:Q}/"$$f" ${DESTDIR:Q}${DOCDIR:Q}/en; \
|
|
|
|
${INSTALL_DATA} ${WRKSRC:Q}/"$$f".ja ${DESTDIR:Q}${DOCDIR:Q}/ja; \
|
2003-01-25 04:49:42 +01:00
|
|
|
done
|
2008-10-11 11:31:54 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC:Q}/samples/en/dot.* ${DESTDIR:Q}${EXAMPLESDIR:Q}/en
|
|
|
|
${INSTALL_DATA} ${WRKSRC:Q}/samples/ja/dot.* ${DESTDIR:Q}${EXAMPLESDIR:Q}/ja
|
2001-02-19 07:16:27 +01:00
|
|
|
|
2008-10-11 11:31:54 +02:00
|
|
|
.include "../../editors/emacs/modules.mk"
|
2007-10-29 14:06:05 +01:00
|
|
|
|
|
|
|
.include "options.mk"
|
|
|
|
|
|
|
|
.include "../../devel/apel/buildlink3.mk"
|
|
|
|
.include "../../devel/semi/buildlink3.mk"
|
|
|
|
.include "../../misc/bbdb/buildlink3.mk"
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
2001-02-19 07:16:27 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|