mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
40 lines
916 B
Makefile
40 lines
916 B
Makefile
# 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>
|