Lines 6-21
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= dataplot |
8 |
PORTNAME= dataplot |
9 |
PORTVERSION= 20070224 |
9 |
PORTVERSION= 20080225 |
10 |
CATEGORIES= graphics |
10 |
CATEGORIES= graphics |
11 |
MASTER_SITES= ftp://ftp.nist.gov/pub/dataplot/unix/:source \ |
11 |
MASTER_SITES= ftp://ftp.nist.gov/pub/dataplot/unix/:source \ |
12 |
LOCAL/beech:source \ |
12 |
LOCAL/beech:source \ |
13 |
http://www.itl.nist.gov/div898/software/dataplot.html/:doc \ |
13 |
http://www.itl.nist.gov/div898/software/dataplot.html/:doc \ |
14 |
LOCAL/beech:doc |
14 |
LOCAL/beech:doc |
15 |
DISTFILES= dpsrc.02_24_2007${EXTRACT_SUFX}:source \ |
15 |
DISTFILES= dpsrc.02_25_2008${EXTRACT_SUFX}:source \ |
16 |
dpsnapsh.pdf:doc |
16 |
dpsnapsh.pdf:doc |
17 |
DIST_SUBDIR= dataplot |
17 |
DIST_SUBDIR= dataplot |
18 |
EXTRACT_ONLY= dpsrc.02_24_2007${EXTRACT_SUFX} |
18 |
EXTRACT_ONLY= dpsrc.02_25_2008${EXTRACT_SUFX} |
19 |
|
19 |
|
20 |
MAINTAINER= beech@FreeBSD.org |
20 |
MAINTAINER= beech@FreeBSD.org |
21 |
COMMENT= A free software system for statistical visualization |
21 |
COMMENT= A free software system for statistical visualization |
Lines 28-34
Link Here
|
28 |
FFLAGS+= -fno-range-check |
28 |
FFLAGS+= -fno-range-check |
29 |
USE_XORG= x11 xi |
29 |
USE_XORG= x11 xi |
30 |
NO_WRKSUBDIR= yes |
30 |
NO_WRKSUBDIR= yes |
31 |
MAXOBV?= 100000 # Change if you need more observations/variable |
31 |
MAXOBV?= 1000000 # Change if you need more observations/variable |
32 |
|
32 |
|
33 |
.include <bsd.port.pre.mk> |
33 |
.include <bsd.port.pre.mk> |
34 |
|
34 |
|
Lines 37-47
Link Here
|
37 |
@${REINPLACE_CMD} -e 's;%%LOCALBASE%%;${LOCALBASE};g ; \ |
37 |
@${REINPLACE_CMD} -e 's;%%LOCALBASE%%;${LOCALBASE};g ; \ |
38 |
s;%%LOCALBASE%%;${LOCALBASE};g' \ |
38 |
s;%%LOCALBASE%%;${LOCALBASE};g' \ |
39 |
${WRKSRC}/Makefile |
39 |
${WRKSRC}/Makefile |
40 |
@${MV} ${WRKSRC}/gl_src.c ${WRKSRC}/gl_src.c.bogus |
40 |
@${MV} ${WRKSRC}/aqua_src.c ${WRKSRC}/aqua_src.c.nop |
|
|
41 |
@${MV} ${WRKSRC}/gl_src.c ${WRKSRC}/gl_src.c.nop |
41 |
|
42 |
|
42 |
pre-patch: |
43 |
pre-patch: |
43 |
@${REINPLACE_CMD} -e 's/MAXOBV=100000/MAXOBV=${MAXOBV}/' \ |
44 |
@${REINPLACE_CMD} -e 's/MAXOBV=1000000/MAXOBV=${MAXOBV}/' \ |
44 |
${WRKSRC}/DPCOPA.INC |
45 |
${WRKSRC}/DPCOPA.INC |
|
|
46 |
.if ((${ARCH}=="amd64") || (${ARCH}=="sparc64") || (${ARCH}=="ia64")) |
47 |
@${REINPLACE_CMD} -e 's;dp1_linux;dp1_linux_dp;g' \ |
48 |
${WRKSRC}/Makefile |
49 |
.endif |
45 |
|
50 |
|
46 |
post-install: |
51 |
post-install: |
47 |
.if !defined(NOPORTDOCS) |
52 |
.if !defined(NOPORTDOCS) |