aboutsummaryrefslogtreecommitdiff
path: root/mail/wanderlust
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2016-10-10 13:56:13 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2016-10-10 13:56:13 +0000
commit5a554dc9c731baf6992bebd73f6f830c6813196e (patch)
treeae27e1a6ef299ce25772270216dadef4266d1823 /mail/wanderlust
parent3025c1c6eee262cf94143209135d35d475ef5fb7 (diff)
downloadports-5a554dc9c731baf6992bebd73f6f830c6813196e.tar.gz
ports-5a554dc9c731baf6992bebd73f6f830c6813196e.zip
Notes
Diffstat (limited to 'mail/wanderlust')
-rw-r--r--mail/wanderlust/Makefile39
-rw-r--r--mail/wanderlust/files/wanderlust-startup.el (renamed from mail/wanderlust/files/wanderlust-startup.emacs20.el.tmpl)0
-rw-r--r--mail/wanderlust/files/wanderlust-startup.emacs21.el.tmpl4
-rw-r--r--mail/wanderlust/files/wanderlust-startup.emacs22.el.tmpl4
-rw-r--r--mail/wanderlust/files/wanderlust-startup.emacs23.el.tmpl4
-rw-r--r--mail/wanderlust/files/wanderlust-startup.emacs24.el.tmpl4
-rw-r--r--mail/wanderlust/files/wanderlust-startup.xemacs21-mule.el.tmpl6
7 files changed, 2 insertions, 59 deletions
diff --git a/mail/wanderlust/Makefile b/mail/wanderlust/Makefile
index f9a4156f46ad..6f49702296b5 100644
--- a/mail/wanderlust/Makefile
+++ b/mail/wanderlust/Makefile
@@ -13,8 +13,6 @@ DISTNAME= wl-${PORTVERSION}
MAINTAINER= nobutaka@FreeBSD.org
COMMENT?= Yet another message interface on Emacsen
-BROKEN= fails to configure
-
USE_EMACS= yes
NO_ARCH= yes
@@ -74,7 +72,7 @@ PLIST_SUB+= EMACS_PACKAGESDIR=${EMACS_PACKAGESDIR} \
WRK_STARTUP_FILE= ${WRKDIR}/wanderlust-startup.el
MAKE_ARGS+= EMACS=${EMACS_CMD} \
LISPDIR=${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} \
- FLAGS="-batch -q -no-site-file -l ${WRK_STARTUP_FILE:C/\/\/*/\//g}"
+ FLAGS="-batch -q -no-site-file"
INFO= wl wl-ja
PLIST= ${PKGDIR}/pkg-plist.emacs
MAKE_ARGS+= INFODIR=${STAGEDIR}${INFODIR} \
@@ -83,38 +81,12 @@ MAKE_ARGS+= INFODIR=${STAGEDIR}${INFODIR} \
post-extract:
@${CP} ${FILESDIR}/WL-CFG ${WRKSRC}
-.if (${EMACS_PORT_NAME} == "emacs-devel")
-STARTUP_TMPL= ${FILESDIR}/wanderlust-startup.emacs22.el.tmpl
-.else
-STARTUP_TMPL= ${FILESDIR}/wanderlust-startup.${EMACS_PORT_NAME}.el.tmpl
-.endif
-
-post-configure:
- @${SED} \
- -e "s,%%PREFIX%%,${PREFIX},g" \
- -e "s,%%EMACS_LIBDIR%%,${EMACS_LIBDIR},g" \
- -e "s,%%EMACS_LIBDIR_WITH_VER%%,${EMACS_LIBDIR_WITH_VER},g" \
- -e "s,%%EMACS_PACKAGESDIR%%,${EMACS_PACKAGESDIR},g" \
- < ${STARTUP_TMPL} > ${WRKDIR}/wanderlust-startup.el
-
-pre-build:
-.if defined(EMACS_PACKAGESDIR)
- @${CP} ${FILESDIR}/_pkg.el ${WRKSRC}
-.endif
-
post-install:
.if !exists(${EMACS_W3M_LISP_FILE})
-.if defined(EMACS_PACKAGESDIR)
- ${INSTALL_DATA} ${WRKSRC}/elmo/elmo-shimbun.el ${STAGEDIR}${PREFIX}/${EMACS_PACKAGESDIR}/lisp/wl
-.else
${INSTALL_DATA} ${WRKSRC}/elmo/elmo-shimbun.el ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/wl
.endif
-.endif
${MAKE} install-samples
${MAKE} install-utils
-.if defined(EMACS_PACKAGESDIR)
- ${MAKE} install-manifest
-.endif
# local targets
post-install-DOCS-on:
@@ -143,13 +115,6 @@ install-utils:
${INSTALL_DATA} ${WRKSRC}/utils/${i} ${STAGEDIR}${PREFIX}/${UTILSDIR}
.endfor
${MKDIR} ${STAGEDIR}${PREFIX}/${STARTUPDIR}
- ${INSTALL_DATA} ${WRKDIR}/wanderlust-startup.el ${STAGEDIR}${PREFIX}/${STARTUPDIR}
-
-install-manifest:
- ${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_PACKAGESDIR}/pkginfo/
- ${CAT} ${PLIST} | ${GREP} -e "^%%EMACS_PACKAGESDIR%%" | \
- ${SED} -e "s!^%%EMACS_PACKAGESDIR%%!!" > ${WRKDIR}/${MANIFEST}
- ${INSTALL_DATA} ${WRKDIR}/${MANIFEST} ${STAGEDIR}${PREFIX}/${EMACS_PACKAGESDIR}/pkginfo/
- ${INSTALL_DATA} ${FILESDIR}/_pkg.el ${STAGEDIR}${PREFIX}/${EMACS_PACKAGESDIR}/lisp/wl
+ ${INSTALL_DATA} ${FILESDIR}/wanderlust-startup.el ${STAGEDIR}${PREFIX}/${STARTUPDIR}
.include <bsd.port.post.mk>
diff --git a/mail/wanderlust/files/wanderlust-startup.emacs20.el.tmpl b/mail/wanderlust/files/wanderlust-startup.el
index e9ef833c9671..e9ef833c9671 100644
--- a/mail/wanderlust/files/wanderlust-startup.emacs20.el.tmpl
+++ b/mail/wanderlust/files/wanderlust-startup.el
diff --git a/mail/wanderlust/files/wanderlust-startup.emacs21.el.tmpl b/mail/wanderlust/files/wanderlust-startup.emacs21.el.tmpl
deleted file mode 100644
index e9ef833c9671..000000000000
--- a/mail/wanderlust/files/wanderlust-startup.emacs21.el.tmpl
+++ /dev/null
@@ -1,4 +0,0 @@
-(autoload 'wl "wl" "Wanderlust" t)
-(autoload 'wl-draft "wl-draft" "Write draft with Wanderlust." t)
-(load "mime-setup")
-(provide 'wanderlust-startup)
diff --git a/mail/wanderlust/files/wanderlust-startup.emacs22.el.tmpl b/mail/wanderlust/files/wanderlust-startup.emacs22.el.tmpl
deleted file mode 100644
index e9ef833c9671..000000000000
--- a/mail/wanderlust/files/wanderlust-startup.emacs22.el.tmpl
+++ /dev/null
@@ -1,4 +0,0 @@
-(autoload 'wl "wl" "Wanderlust" t)
-(autoload 'wl-draft "wl-draft" "Write draft with Wanderlust." t)
-(load "mime-setup")
-(provide 'wanderlust-startup)
diff --git a/mail/wanderlust/files/wanderlust-startup.emacs23.el.tmpl b/mail/wanderlust/files/wanderlust-startup.emacs23.el.tmpl
deleted file mode 100644
index e9ef833c9671..000000000000
--- a/mail/wanderlust/files/wanderlust-startup.emacs23.el.tmpl
+++ /dev/null
@@ -1,4 +0,0 @@
-(autoload 'wl "wl" "Wanderlust" t)
-(autoload 'wl-draft "wl-draft" "Write draft with Wanderlust." t)
-(load "mime-setup")
-(provide 'wanderlust-startup)
diff --git a/mail/wanderlust/files/wanderlust-startup.emacs24.el.tmpl b/mail/wanderlust/files/wanderlust-startup.emacs24.el.tmpl
deleted file mode 100644
index e9ef833c9671..000000000000
--- a/mail/wanderlust/files/wanderlust-startup.emacs24.el.tmpl
+++ /dev/null
@@ -1,4 +0,0 @@
-(autoload 'wl "wl" "Wanderlust" t)
-(autoload 'wl-draft "wl-draft" "Write draft with Wanderlust." t)
-(load "mime-setup")
-(provide 'wanderlust-startup)
diff --git a/mail/wanderlust/files/wanderlust-startup.xemacs21-mule.el.tmpl b/mail/wanderlust/files/wanderlust-startup.xemacs21-mule.el.tmpl
deleted file mode 100644
index 169ef4c1a972..000000000000
--- a/mail/wanderlust/files/wanderlust-startup.xemacs21-mule.el.tmpl
+++ /dev/null
@@ -1,6 +0,0 @@
-(autoload 'wl "wl" "Wanderlust" t)
-(autoload 'wl-draft "wl-draft" "Write draft with Wanderlust." t)
-(load "browse-url")
-(load "mime-setup")
-(setq wl-icon-dir "%%PREFIX%%/%%EMACS_PACKAGESDIR%%/etc/wl")
-(provide 'wanderlust-startup)