blob: 7f57b702820b90bcc2f5d73e0bcecdf58e386251 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.6 1999/12/28 15:43:15 tron Exp $
#
DISTNAME= zenicb-19981202
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= thorpej@netbsd.org
MIRROR_DISTFILE= no
# XXX YUCK! I really don't like this, but what else are we going to do?
.include "../../mk/bsd.prefs.mk"
.if defined(USE_XEMACS)
EMACS= xemacs
DEPENDS+= xemacs-*:../../editors/xemacs
.else
EMACS= emacs
DEPENDS+= emacs-*:../../editors/emacs
.endif
ELISPDIR= ${PREFIX}/share/${EMACS}/site-lisp
PLIST_SRC= ${WRKDIR}/PLIST.tmp
pre-configure:
@${ECHO} "To install for Xemacs, set the environment variable USE_XEMACS."
pre-install:
${SED} -e "s/@EMACS@/${EMACS}/g" ${PKGDIR}/PLIST > ${PLIST_SRC}
do-build:
do-install:
@for file in ${WRKSRC}/src/*.el; do \
j="${INSTALL_DATA} $$file ${ELISPDIR}/"; \
${ECHO} $$j; $$j; \
done
.include "../../mk/bsd.pkg.mk"
|