2f44a4b533
Based on maintainer update request by PR 39892. Major changes in 1.0.0: - Running dictem-initialize everytime your network/internet is up (if case you have no permanent connection to Internet, e.g. dial-up, adsl etc.) is a bit annoying. To avoid this dictem is (re)initialized (if needed) automatically from dictem-select-strategy and dictem-select-database functions. As a result, running dictem-initialize in .emacs becomes unnecessary - New function (dictem-reinitialize-err) added - Minor fix in dictem-initialize-databases-alist function. Now it returns error data in case of failure, not nil. (just like dictem-initialize-strategies-alist)
37 lines
1 KiB
Makefile
37 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2008/11/12 12:25:27 obache Exp $
|
|
|
|
DISTNAME= dictem-1.0.0
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
|
|
CATEGORIES= textproc editors
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dictem/} \
|
|
http://www.mova.org/~cheusov/pub/dictem/
|
|
|
|
MAINTAINER= cheusov@tut.by
|
|
HOMEPAGE= http://freshmeat.net/projects/dictem/
|
|
COMMENT= Dictionary client (RFC-2229) for [X]Emacs
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
DEPENDS+= dict-client>=1.9.14:../../textproc/dict-client
|
|
#MESSAGE_SUBST+= PREFIX=${PREFIX}
|
|
|
|
SRCS= dictem.el
|
|
DOCS= README NEWS COPYING ChangeLog
|
|
|
|
INSTALLATION_DIRS+= share/doc/${PKGBASE} ${EMACS_LISPPREFIX}
|
|
|
|
do-build:
|
|
.for f in ${SRCS}
|
|
${EMACS_BIN} --no-init-file --no-site-file -batch \
|
|
-f batch-byte-compile ${WRKSRC}/${f}
|
|
.endfor
|
|
|
|
do-install:
|
|
set -e; \
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \
|
|
${DESTDIR}${EMACS_LISPPREFIX:Q}; \
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} \
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
.include "../../editors/emacs/modules.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|