mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 02:16:27 -04:00
1. Place gnuplot.gih in ${DATADIR} rather than ${PREFIX}/share (the
correct way, by modifying CONFIGURE_ARGS, rather than the bogus way previously done in post-install). 2. Update to use the new version of pdflib (and bump PORTREVISION to reflect this). 3. Info files are included even when NOPORTDOCS is set, and gnuplot.gih definitely should be (mea culpa for these two). PR: 52940, 46757 [1] Submitted by: Ports Fury (2, 3), Bjoern A. Zeeb <bzeeb+freebsdports@zabbadoz.net> [1] [1] PR/46757 was mostly addressed in rev 1.10 of pkg-plist, with some clean up occuring in this commit.
This commit is contained in:
parent
026b1d9113
commit
c275cc8a36
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82303
2 changed files with 8 additions and 9 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= gnuplot
|
||||
PORTVERSION= 3.7.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math graphics
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
@ -15,7 +16,7 @@ MAINTAINER= chuckr@FreeBSD.org
|
|||
COMMENT= A command-driven interactive function plotting program
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --datadir=${PREFIX}/share \
|
||||
CONFIGURE_ARGS= --datadir=${DATADIR} \
|
||||
--without-linux-vga --without-gd \
|
||||
--with-readline=gnu --with-lasergnu
|
||||
|
||||
|
@ -37,7 +38,7 @@ CONFIGURE_ARGS+= --without-png
|
|||
.endif
|
||||
|
||||
.if !defined(WITHOUT_PDF)
|
||||
LIB_DEPENDS+= pdf.4:${PORTSDIR}/print/pdflib
|
||||
LIB_DEPENDS+= pdf.5:${PORTSDIR}/print/pdflib
|
||||
CONFIGURE_ARGS+= --with-pdf=${LOCALBASE}
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-pdf
|
||||
|
@ -48,8 +49,6 @@ post-install:
|
|||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${FILESDIR}/README ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/demo/* ${EXAMPLESDIR}
|
||||
@${MKDIR} ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/gnuplot.gih ${DATADIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
bin/gnuplot
|
||||
%%X11:%%bin/gnuplot_x11
|
||||
bin/lasergnu
|
||||
%%PORTDOCS%%@unexec install-info --delete %D/info/gnuplot.info %D/info/dir
|
||||
%%PORTDOCS%%info/gnuplot.info
|
||||
%%PORTDOCS%%@exec install-info %D/info/gnuplot.info %D/info/dir
|
||||
@unexec install-info --delete %D/info/gnuplot.info %D/info/dir
|
||||
info/gnuplot.info
|
||||
@exec install-info %D/info/gnuplot.info %D/info/dir
|
||||
%%PORTDOCS%%share/examples/gnuplot/1.dat
|
||||
%%PORTDOCS%%share/examples/gnuplot/2.dat
|
||||
%%PORTDOCS%%share/examples/gnuplot/3.dat
|
||||
|
@ -70,5 +70,5 @@ bin/lasergnu
|
|||
%%PORTDOCS%%share/examples/gnuplot/world.dat
|
||||
%%PORTDOCS%%share/examples/gnuplot/world.dem
|
||||
%%PORTDOCS%%@dirrm share/examples/gnuplot
|
||||
%%PORTDOCS%%share/gnuplot/gnuplot.gih
|
||||
%%PORTDOCS%%@dirrm share/gnuplot
|
||||
share/gnuplot/gnuplot.gih
|
||||
@dirrm share/gnuplot
|
||||
|
|
Loading…
Add table
Reference in a new issue