mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
. Fix the location of the bsd.port.pre.mk include.
. Install the elisp files in the correct location. PR: 107043 Submitted by: Koji Yokota <yokota@res.otaru-uc.ac.jp>
This commit is contained in:
parent
b02ba484a4
commit
68875d38a1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=181840
@ -30,6 +30,8 @@ OPTIONS= GD "Enable GD support" on \
|
||||
MAN1= gnuplot.1 lasergnu.1
|
||||
INFO= gnuplot
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if exists(${PREFIX}/bin/emacs) || exists(${PREFIX}/bin/xemacs)
|
||||
USE_EMACS= yes
|
||||
EMACS_PORT_NAME= emacs21
|
||||
@ -41,8 +43,6 @@ PLIST_SUB+= EMACS_SITE_LISPDIR="@comment "
|
||||
CONFIGURE_ARGS+= --without-lisp-files
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(WITHOUT_READLINE)
|
||||
.if ${OSVERSION} < 500018
|
||||
LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline
|
||||
@ -106,7 +106,7 @@ post-build:
|
||||
post-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/src/lasergnu ${PREFIX}/bin
|
||||
.if exists(${PREFIX}/bin/emacs) || exists(${PREFIX}/bin/xemacs)
|
||||
${INSTALL_DATA} ${WRKSRC}/lisp/gnuplot*.el ${EMACS_SITE_LISPDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/lisp/gnuplot*.el ${PREFIX}/${EMACS_SITE_LISPDIR}
|
||||
.endif
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user