aboutsummaryrefslogtreecommitdiffstats
path: root/lang/lua-mode.el/Makefile
blob: e58e7a057205675a7a48b0187329aa5d0e65ca47 (plain) (blame)
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
# New ports collection makefile for:    lua-mode.el
# Date created:             4 March 2004
# Whom:                 Josh Elsasser <jre@vineyard.net>
#
# $FreeBSD$
#

PORTNAME=   lua-mode.el
PORTVERSION=    1.26
PORTREVISION=   1
CATEGORIES= lang elisp
MASTER_SITES=   http://lua-users.org/files/wiki_insecure/editors/
DISTNAME=   lua-mode.el
EXTRACT_SUFX=   # empty
EXTRACT_ONLY=   # empty

MAINTAINER= jre@vineyard.net
COMMENT=    Emacs/XEmacs major mode for editing Lua scripts

NO_BUILD=   yes
NO_WRKSUBDIR=   yes

EMACSLISPDIR=   ${PREFIX}/share/emacs/site-lisp
XEMACSLISPDIR=  ${PREFIX}/lib/xemacs/site-lisp

PLIST_FILES=    share/emacs/site-lisp/lua-mode.el lib/xemacs/site-lisp/lua-mode.el
PLIST_DIRS= lib/xemacs/site-lisp lib/xemacs

do-install:
    ${MKDIR} ${EMACSLISPDIR}
    ${MKDIR} ${XEMACSLISPDIR}
    ${INSTALL_DATA} ${_DISTDIR}/${DISTNAME} ${EMACSLISPDIR}/lua-mode.el
    ${LN} -sf ${EMACSLISPDIR}/lua-mode.el ${XEMACSLISPDIR}

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>