diff options
author | tg <tg@FreeBSD.org> | 2000-01-06 19:46:19 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2000-01-06 19:46:19 +0800 |
commit | 7f10bb2960d106ac01336ac2a7f30f58ef8c95b0 (patch) | |
tree | 9f6d0fe6299d9a35642b87035cc4c7da7fe4520d /lang/python/Makefile | |
parent | 9926c153c6451eb54ea6c2169ea51d60e717b7e4 (diff) | |
download | freebsd-ports-gnome-7f10bb2960d106ac01336ac2a7f30f58ef8c95b0.tar.gz freebsd-ports-gnome-7f10bb2960d106ac01336ac2a7f30f58ef8c95b0.tar.zst freebsd-ports-gnome-7f10bb2960d106ac01336ac2a7f30f58ef8c95b0.zip |
- Install python-mode.el.
PR: 15702
Submitted by: "Dmitry S. Sivachenko" <dima@Chg.RU>
- Only use Tk support if X11 is installed.
PR: 15910
Submitted by: Nathan Dorfman <nathan@rtfm.net>
Diffstat (limited to 'lang/python/Makefile')
-rw-r--r-- | lang/python/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/python/Makefile b/lang/python/Makefile index fe715b119522..3cc135b675b2 100644 --- a/lang/python/Makefile +++ b/lang/python/Makefile @@ -32,9 +32,11 @@ MAN1= python.1 SETUP_FILE= Setup # -# Support for Tk is compiled in by default. +# Support for Tk is compiled in by default only if X11 is installed. # +.if exists(${X11_BASE}) WITH_TK?= yes +.endif .if defined(WITH_TK) && $(WITH_TK) == yes TK_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82 SETUP_LOCAL= Setup.tk @@ -104,6 +106,8 @@ pre-install: post-install: strip ${PREFIX}/bin/python @${MKDIR} ${PREFIX}/share/doc/python + @${MKDIR} ${PREFIX}/share/emacs/site-lisp + ${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el ${PREFIX}/share/emacs/site-lisp ${INSTALL_DATA} ${WRKSRC}/Misc/COPYRIGHT ${PREFIX}/share/doc/python @${MKDIR} ${PREFIX}/lib/python1.5/site-packages .if defined(WITH_TOOLS) && ${WITH_TOOLS} == yes |