aboutsummaryrefslogtreecommitdiff
path: root/lang/csharp-mode.el
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2006-06-20 13:33:25 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2006-06-20 13:33:25 +0000
commit9a9ee613a1c81fd932c0ea0dfcb70a1fee6a9eec (patch)
treeb0981540fecbda42f59ea438642004cd2f81ac8b /lang/csharp-mode.el
parent43819c31aed0679fecfa34cf4fa3cc15175402a2 (diff)
downloadports-9a9ee613a1c81fd932c0ea0dfcb70a1fee6a9eec.tar.gz
ports-9a9ee613a1c81fd932c0ea0dfcb70a1fee6a9eec.zip
Notes
Diffstat (limited to 'lang/csharp-mode.el')
-rw-r--r--lang/csharp-mode.el/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/lang/csharp-mode.el/Makefile b/lang/csharp-mode.el/Makefile
index f414a2aebf3d..d02cc0c8a1d5 100644
--- a/lang/csharp-mode.el/Makefile
+++ b/lang/csharp-mode.el/Makefile
@@ -7,6 +7,7 @@
PORTNAME= csharp-mode.el
PORTVERSION= 0.5.0
+PORTREVISION= 1
CATEGORIES= lang elisp
MASTER_SITES= http://mfgames.com/linux/releases/
DISTNAME= ${PORTNAME:S|.el$||}-${PORTVERSION}
@@ -19,10 +20,9 @@ NO_WRKSUBDIR= yes
USE_EMACS= yes
EMACS_PORT_NAME?= emacs22
-CSHARP_MODE_DIR= ${EMACS_LIBDIR_WITH_VER}/lisp
-PLIST_FILES= ${CSHARP_MODE_DIR}/csharp-mode.el \
- ${CSHARP_MODE_DIR}/csharp-mode.elc
+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
@@ -31,8 +31,7 @@ do-build:
cd ${WRKSRC} && ${EMACS_CMD} -batch -q -f batch-byte-compile csharp-mode.el
do-install:
- ${MKDIR} ${PREFIX}/${CSHARP_MODE_DIR}
- ${INSTALL_DATA} ${WRKSRC}/csharp-mode.* ${PREFIX}/${CSHARP_MODE_DIR}
+ ${INSTALL_DATA} ${WRKSRC}/csharp-mode.* ${PREFIX}/${EMACS_SITE_LISPDIR}
post-install:
@${CAT} ${PKGMESSAGE}