aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2006-06-20 21:33:25 +0800
committerjylefort <jylefort@FreeBSD.org>2006-06-20 21:33:25 +0800
commit369b9b41765f398119380e2d2381d6a3f4ee4a65 (patch)
treebbbaf5771aa8198ba92fe7d883cd6fedd7ca2d6e
parent6c8efd49e890d1c023fdeb335e3fc00cd84890a9 (diff)
downloadfreebsd-ports-gnome-369b9b41765f398119380e2d2381d6a3f4ee4a65.tar.gz
freebsd-ports-gnome-369b9b41765f398119380e2d2381d6a3f4ee4a65.tar.zst
freebsd-ports-gnome-369b9b41765f398119380e2d2381d6a3f4ee4a65.zip
Install in ${EMACS_SITE_LISPDIR}, since anray has added it to the
xemacs21-mule load path.
-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}