blob: 0d84ea56909e1b4ab6cc077b957fc978e7d23cc2 (
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
|
# $NetBSD: Makefile,v 1.14 2010/06/30 12:41:10 markd Exp $
DISTNAME= gnuserv-3.12.7
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
PKGREVISION= 3
CATEGORIES= editors
MASTER_SITES= ${HOMEPAGE}/src/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://meltin.net/hacks/emacs/
COMMENT= Improved version of emacsserver for GNU Emacs
CONFLICTS+= xemacs-[0-9]*
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
.include "../../x11/libXau/buildlink3.mk"
EL_FILES= devices.el gnuserv.el gnuserv-compat.el
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}
cd ${WRKSRC} && for FILE in ${EL_FILES}; do \
${INSTALL_DATA} $${FILE} $${FILE}c ${DESTDIR}${EMACS_LISPPREFIX}; \
done
.if ${X11_TYPE} == "modular"
CONFIGURE_ARGS+= --x-includes=${PREFIX}/include
CONFIGURE_ARGS+= --x-libraries=${PREFIX}/lib
.endif
.include "../../editors/emacs/modules.mk"
.include "../../mk/bsd.pkg.mk"
|