summaryrefslogtreecommitdiff
path: root/textproc/dictem/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/dictem/Makefile')
-rw-r--r--textproc/dictem/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/textproc/dictem/Makefile b/textproc/dictem/Makefile
index 065a9e37ffe..d8a1e63aa96 100644
--- a/textproc/dictem/Makefile
+++ b/textproc/dictem/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/01/10 14:53:11 obache Exp $
+# $NetBSD: Makefile,v 1.2 2008/04/05 04:45:22 obache Exp $
-DISTNAME= dictem-0.81
+DISTNAME= dictem-0.82
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
#PKGREVISION= 1
CATEGORIES= textproc editors
@@ -11,26 +11,28 @@ 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:Q}
+INSTALLATION_DIRS+= share/doc/${PKGBASE} ${EMACS_LISPPREFIX}
do-build:
.for f in ${SRCS}
- ${EMACS_BIN:Q} --no-init-file --no-site-file -batch \
+ ${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} \
- ${EMACS_LISPPREFIX:Q}; \
+ ${DESTDIR}${EMACS_LISPPREFIX:Q}; \
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} \
- ${PREFIX}/share/doc/${PKGBASE}
+ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
.include "../../mk/emacs.mk"
.include "../../mk/bsd.pkg.mk"