aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranray <anray@FreeBSD.org>2007-07-03 02:15:52 +0800
committeranray <anray@FreeBSD.org>2007-07-03 02:15:52 +0800
commitffe4d309487c627f325dd4f99765ac8a6561412c (patch)
tree8fa81a2fe190c054b07376a3fdc165af7e9534e7
parent8821a89ae3246543196fc37eded2fd10928c4a1d (diff)
downloadfreebsd-ports-graphics-ffe4d309487c627f325dd4f99765ac8a6561412c.tar.gz
freebsd-ports-graphics-ffe4d309487c627f325dd4f99765ac8a6561412c.tar.zst
freebsd-ports-graphics-ffe4d309487c627f325dd4f99765ac8a6561412c.zip
Fix installing from package.
Reported by: infofarmer
-rw-r--r--lang/python-mode.el/Makefile1
-rw-r--r--lang/python-mode.el/pkg-plist8
2 files changed, 5 insertions, 4 deletions
diff --git a/lang/python-mode.el/Makefile b/lang/python-mode.el/Makefile
index 504a83ab2eb..e0250afe52e 100644
--- a/lang/python-mode.el/Makefile
+++ b/lang/python-mode.el/Makefile
@@ -7,6 +7,7 @@
PORTNAME= python-mode.el
PORTVERSION= 1.0
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= lang elisp python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
diff --git a/lang/python-mode.el/pkg-plist b/lang/python-mode.el/pkg-plist
index 3767bb8a8b0..e2b03a9fde9 100644
--- a/lang/python-mode.el/pkg-plist
+++ b/lang/python-mode.el/pkg-plist
@@ -3,10 +3,10 @@ share/emacs/site-lisp/python-mode.el
share/emacs/site-lisp/pycomplete.el
share/emacs/site-lisp/pycomplete.py
@exec mkdir -p %D/lib/xemacs/site-lisp
-@exec ln -sf %D/%F %D/lib/xemacs/site-lisp/doctest-mode.el
-@exec ln -sf %D/%F %D/lib/xemacs/site-lisp/python-mode.el
-@exec ln -sf %D/%F %D/lib/xemacs/site-lisp/pycomplete.el
-@exec ln -sf %D/%F %D/lib/xemacs/site-lisp/pycomplete.py
+@exec ln -sf %D/share/emacs/site-lisp/doctest-mode.el %D/lib/xemacs/site-lisp
+@exec ln -sf %D/share/emacs/site-lisp/python-mode.el %D/lib/xemacs/site-lisp
+@exec ln -sf %D/share/emacs/site-lisp/pycomplete.el %D/lib/xemacs/site-lisp
+@exec ln -sf %D/share/emacs/site-lisp/pycomplete.py %D/lib/xemacs/site-lisp
@unexec rm %D/lib/xemacs/site-lisp/doctest-mode.el 2>/dev/null || true
@unexec rm %D/lib/xemacs/site-lisp/python-mode.el 2>/dev/null || true
@unexec rm %D/lib/xemacs/site-lisp/pycomplete.el 2>/dev/null || true