summaryrefslogtreecommitdiff
path: root/mail/wl-snapshot/Makefile
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2009-08-05 22:23:57 +0000
committerminskim <minskim@pkgsrc.org>2009-08-05 22:23:57 +0000
commit2f9c684e6ee944feb75713e58ca55cfcb6cff1a4 (patch)
tree7a80f1918b84de79db1d9b168a54755d92553114 /mail/wl-snapshot/Makefile
parent67b46254727d5461b5f3a9ea7729d0b779195837 (diff)
downloadpkgsrc-2f9c684e6ee944feb75713e58ca55cfcb6cff1a4.tar.gz
Import wl-2.15.6.20090322 as mail/wl-snapshot.
This is the development version of mail/wl.
Diffstat (limited to 'mail/wl-snapshot/Makefile')
-rw-r--r--mail/wl-snapshot/Makefile56
1 files changed, 56 insertions, 0 deletions
diff --git a/mail/wl-snapshot/Makefile b/mail/wl-snapshot/Makefile
new file mode 100644
index 00000000000..053cea7ba8e
--- /dev/null
+++ b/mail/wl-snapshot/Makefile
@@ -0,0 +1,56 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/08/05 22:23:57 minskim Exp $
+
+DISTNAME= wl-beta_2.15.6+0.20090322.orig
+PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME:S/beta_//:S/+0//:S/.orig//}
+CATEGORIES= mail
+MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/w/wl-beta/}
+
+MAINTAINER= tech-pkg-ja@jp.NetBSD.org
+HOMEPAGE= http://www.gohome.org/wl/
+COMMENT= Mail/news management system with IMAP4rev1 support for Emacs
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_TOOLS+= patch
+WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
+
+BUILD_TARGET= all info
+INSTALL_TARGET= install install-info
+MAKE_FLAGS+= INFODIR=${DESTDIR}${EMACS_INFOPREFIX}
+MAKE_FLAGS+= LISPDIR=${DESTDIR}${EMACS_LISPPREFIX}
+MAKE_FLAGS+= EMACS=${EMACS_FLAVOR}
+MAKE_FLAGS+= PIXMAPDIR=${DESTDIR}${PREFIX}/share/wl
+INFO_FILES= yes
+
+SUBST_CLASSES+= icon_directory
+SUBST_STAGE.icon_directory= pre-configure
+SUBST_MESSAGE.icon_directory= Fixing wl-icon-directory default value (defvar)
+SUBST_FILES.icon_directory= ${WRKSRC}/wl/wl-vars.el
+SUBST_SED.icon_directory= -e 's|%%PREFIX%%|${PREFIX}|'
+
+DOCDIR= ${PREFIX}/share/doc/wl
+EXAMPLESDIR= ${PREFIX}/share/examples/wl
+INSTALLATION_DIRS= ${DOCDIR}/en ${DOCDIR}/ja \
+ ${EXAMPLESDIR}/en ${EXAMPLESDIR}/ja \
+ ${EMACS_INFOPREFIX}
+
+EMACS_BUILDLINK= # empty
+
+.include "options.mk"
+
+.include "../../devel/apel/buildlink3.mk"
+.include "../../devel/semi/buildlink3.mk"
+.include "../../editors/emacs/modules.mk"
+.include "../../misc/bbdb/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+
+post-install:
+ set -e; \
+ for f in BUGS NEWS README; do \
+ ${INSTALL_DATA} ${WRKSRC}/"$$f" ${DESTDIR}${DOCDIR}/en; \
+ ${INSTALL_DATA} ${WRKSRC}/"$$f".ja ${DESTDIR}${DOCDIR}/ja; \
+ done
+ ${INSTALL_DATA} ${WRKSRC}/samples/en/dot.* ${DESTDIR}${EXAMPLESDIR}/en
+ ${INSTALL_DATA} ${WRKSRC}/samples/ja/dot.* ${DESTDIR}${EXAMPLESDIR}/ja
+
+.include "../../mk/bsd.pkg.mk"