2006-06-19 12:02:05 +02:00
|
|
|
# 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
|
2009-05-05 23:26:42 +02:00
|
|
|
PORTVERSION= 0.7.0
|
2010-03-28 08:47:48 +02:00
|
|
|
PORTREVISION= 4
|
2006-06-19 12:02:05 +02:00
|
|
|
CATEGORIES= lang elisp
|
2009-09-25 22:41:28 +02:00
|
|
|
MASTER_SITES= http://mfgames.com/releases/csharp-mode/ \
|
|
|
|
http://gentoo.kiev.ua/ftp/distfiles/ \
|
|
|
|
http://unix.miet.ru/pub/linux/gentoo/distfiles/
|
2006-06-19 12:02:05 +02:00
|
|
|
DISTNAME= ${PORTNAME:S|.el$||}-${PORTVERSION}
|
|
|
|
|
2009-09-25 22:41:28 +02:00
|
|
|
MAINTAINER= mva@FreeBSD.org
|
2006-06-19 12:02:05 +02:00
|
|
|
COMMENT= Emacs/XEmacs major mode for editing C\# source code
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
|
|
|
USE_EMACS= yes
|
|
|
|
|
2006-06-20 15:33:25 +02:00
|
|
|
PLIST_FILES= ${EMACS_SITE_LISPDIR}/csharp-mode.el \
|
|
|
|
${EMACS_SITE_LISPDIR}/csharp-mode.elc
|
2006-06-19 12:02:05 +02:00
|
|
|
|
|
|
|
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:
|
2006-06-20 15:33:25 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/csharp-mode.* ${PREFIX}/${EMACS_SITE_LISPDIR}
|
2006-06-19 12:02:05 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|