diff options
author | Satoshi Taoka <taoka@FreeBSD.org> | 2000-07-10 17:31:26 +0000 |
---|---|---|
committer | Satoshi Taoka <taoka@FreeBSD.org> | 2000-07-10 17:31:26 +0000 |
commit | c8fcfb7b779cc7ba3c74e776f10d88c288985686 (patch) | |
tree | 4df547a4ecbd922216c08870d644e67b6180209f /japanese/lookup-emacs21/Makefile | |
parent | Fix typo. Don't ask me how it worked before. :) (diff) |
Update to version 1.3
We need to byte-compile the elisps to show logo when lookup starts up.
So I make these elisps byte-compiled.
Diffstat (limited to 'japanese/lookup-emacs21/Makefile')
-rw-r--r-- | japanese/lookup-emacs21/Makefile | 34 |
1 files changed, 11 insertions, 23 deletions
diff --git a/japanese/lookup-emacs21/Makefile b/japanese/lookup-emacs21/Makefile index 7a05a0dbe27b..c45f01292a16 100644 --- a/japanese/lookup-emacs21/Makefile +++ b/japanese/lookup-emacs21/Makefile @@ -6,10 +6,10 @@ # PORTNAME= lookup -PORTVERSION= 1.2 -PKGNAMESUFFIX?= -mule +PORTVERSION= 1.3 +PKGNAMESUFFIX= -${EMACS_PORT_NAME} CATEGORIES= japanese elisp -MASTER_SITES= http://openlab.ring.gr.jp/lookup/DIST/ +MASTER_SITES= http://download.sourceforge.net/lookup/ MAINTAINER= taoka@FreeBSD.org @@ -18,37 +18,25 @@ RUN_DEPENDS+= eblook:${PORTSDIR}/japanese/eblook FILESDIR= ${.CURDIR}/../lookup-mule/files PKGDIR= ${.CURDIR}/../lookup-mule/pkg PLIST= ${.CURDIR}/pkg/PLIST -PATCHDIR= ${.CURDIR}/patches -EMACS?= mule +EMACS_PORT_NAME?= mule -.if (${EMACS} == "xemacs") +.if (${EMACS_PORT_NAME} == "xemacs21-mule") EMACSDIR= ${PREFIX}/lib/xemacs/site-packages ELISPDIR= ${EMACSDIR}/lisp/lookup PORTINFODIR= ${EMACSDIR}/info MANIFEST= MANIFEST.lookup .else -EMACSDIR= ${PREFIX}/share/emacs/site-lisp +EMACSDIR= ${PREFIX}/share/${EMACS_NAME}/site-lisp ELISPDIR= ${EMACSDIR}/lookup PORTINFODIR= ${PREFIX}/info .endif -NO_BUILD= yes +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --with-emacs=${EMACS_CMD} \ + --with-lispdir=${ELISPDIR} \ + --infodir=${PORTINFODIR} -do-install: - ${MKDIR} ${ELISPDIR} ${PORTINFODIR}; - ${INSTALL_DATA} ${WRKSRC}/lisp/*.el ${ELISPDIR} - ${RM} ${ELISPDIR}/lookup-compile.el - ${SED} -e 's,@VERSION@,${PORTVERSION},' -e 's,@pkgemacsdir@,${ELISPDIR},' \ - ${WRKSRC}/lisp/lookup-vars.el.in > ${ELISPDIR}/lookup-vars.el - ${INSTALL_DATA} ${WRKSRC}/texi/lookup.info* ${PORTINFODIR} - ${INSTALL_DATA} ${WRKSRC}/texi/lookup-guide.info ${PORTINFODIR} -.if (${EMACS} != "xemacs") - install-info ${PORTINFODIR}/lookup.info ${PORTINFODIR}/dir - install-info ${PORTINFODIR}/lookup-guide.info ${PORTINFODIR}/dir -.endif - ${SED} -e 's,%%ELISPDIR%%,${ELISPDIR},' ${FILESDIR}/lookup-startup.el.tmpl > ${ELISPDIR}/../lookup-startup.el - -.if (${EMACS} == "xemacs") post-install: +.if (${EMACS_PORT_NAME} == "xemacs") ${RM} -f ${WRKDIR}/${MANIFEST} emacsdir=`${ECHO} ${EMACSDIR} | ${SED} -e "s;^${PREFIX}/;;"`; \ ${CAT} ${PLIST} | ${GREP} -e "^$${emacsdir}" | \ |