aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2003-06-05 07:33:38 +0800
committerglewis <glewis@FreeBSD.org>2003-06-05 07:33:38 +0800
commit21446a2252e9741fefeb081a0bbcf18709cb7e0c (patch)
tree91894094142566c88cf43e76bf56bd120a3c8119 /math
parent8c53cb9dbbf9f2fabd2fd03c35634b078654b98d (diff)
downloadfreebsd-ports-gnome-21446a2252e9741fefeb081a0bbcf18709cb7e0c.tar.gz
freebsd-ports-gnome-21446a2252e9741fefeb081a0bbcf18709cb7e0c.tar.zst
freebsd-ports-gnome-21446a2252e9741fefeb081a0bbcf18709cb7e0c.zip
Grr. This is not my day.
. Revert changes in the previous commit which weren't meant to be committed at that time.
Diffstat (limited to 'math')
-rw-r--r--math/gnuplot/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/math/gnuplot/Makefile b/math/gnuplot/Makefile
index ffb380d79963..316dfc864c43 100644
--- a/math/gnuplot/Makefile
+++ b/math/gnuplot/Makefile
@@ -7,7 +7,6 @@
PORTNAME= gnuplot
PORTVERSION= 3.7.3
-PORTREVISION= 1
CATEGORIES= math graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,7 +15,7 @@ MAINTAINER= chuckr@FreeBSD.org
COMMENT= A command-driven interactive function plotting program
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --datadir=${DATADIR} \
+CONFIGURE_ARGS= --datadir=${PREFIX}/share \
--without-linux-vga --without-gd \
--with-readline=gnu --with-lasergnu
@@ -38,7 +37,7 @@ CONFIGURE_ARGS+= --without-png
.endif
.if !defined(WITHOUT_PDF)
-LIB_DEPENDS+= pdf.5:${PORTSDIR}/print/pdflib
+LIB_DEPENDS+= pdf.4:${PORTSDIR}/print/pdflib
CONFIGURE_ARGS+= --with-pdf=${LOCALBASE}
.else
CONFIGURE_ARGS+= --without-pdf
@@ -49,6 +48,8 @@ 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>