aboutsummaryrefslogtreecommitdiff
path: root/lang/csharp-mode.el/Makefile
blob: 52aa6572c8eb3104950ecb99a8f65ab3fcf8e78b (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
39
# New ports collection makefile for:	csharp-mode.el
# Date created:				19 Jun 2006
# Whom:					Jean-Yves Lefort <jylefort@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	csharp-mode.el
PORTVERSION=	0.5.0
PORTREVISION=	2
CATEGORIES=	lang elisp
MASTER_SITES=	http://mfgames.com/linux/releases/
DISTNAME=	${PORTNAME:S|.el$||}-${PORTVERSION}

MAINTAINER=	jylefort@FreeBSD.org
COMMENT=	Emacs/XEmacs major mode for editing C\# source code

USE_BZIP2=	yes
NO_WRKSUBDIR=	yes

USE_EMACS=	yes
EMACS_PORT_NAME?=	emacs22

PLIST_FILES=	${EMACS_SITE_LISPDIR}/csharp-mode.el \
		${EMACS_SITE_LISPDIR}/csharp-mode.elc

post-patch:
	@${MV} ${WRKSRC}/csharp-mode-${PORTVERSION}.el ${WRKSRC}/csharp-mode.el

do-build:
	cd ${WRKSRC} && ${EMACS_CMD} -batch -q -f batch-byte-compile csharp-mode.el

do-install:
	${INSTALL_DATA} ${WRKSRC}/csharp-mode.* ${PREFIX}/${EMACS_SITE_LISPDIR}

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

.include <bsd.port.mk>