diff options
Diffstat (limited to 'math/gnuplot')
-rw-r--r-- | math/gnuplot/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/math/gnuplot/Makefile b/math/gnuplot/Makefile index f4eed2f15505..a81bf87a137b 100644 --- a/math/gnuplot/Makefile +++ b/math/gnuplot/Makefile @@ -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} |