Lines 7-36
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= xplot |
8 |
PORTNAME= xplot |
9 |
PORTVERSION= 0.90.7.1 |
9 |
PORTVERSION= 0.90.7.1 |
10 |
PORTREVISION= 2 |
10 |
PORTREVISION= 3 |
11 |
CATEGORIES= math graphics net |
11 |
CATEGORIES= math graphics net |
12 |
MASTER_SITES= http://www.xplot.org/xplot/ |
12 |
MASTER_SITES= http://www.xplot.org/xplot/ |
13 |
|
13 |
|
14 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= ports@FreeBSD.org |
15 |
COMMENT= X11 plotting package |
15 |
COMMENT= X11 plotting package |
16 |
|
16 |
|
|
|
17 |
USE_XORG= x11 |
18 |
USE_PERL5_RUN= yes |
17 |
GNU_CONFIGURE= yes |
19 |
GNU_CONFIGURE= yes |
18 |
|
20 |
|
19 |
#XPLOT_DEMOS= demo.0 demo.1 demo.2 demo.3 demo.4 demo.5 demo.6 demo.7 |
|
|
20 |
|
21 |
USE_XORG= x11 |
22 |
MAN1= tcpdump2xplot.1 xplot.1 |
21 |
MAN1= tcpdump2xplot.1 xplot.1 |
|
|
22 |
PORTDOCS= README README.tcp_plots |
23 |
PLIST_FILES= bin/tcpdump2xplot bin/tcpdump2xplot.pl bin/xplot |
24 |
|
25 |
post-patch: |
26 |
@${REINPLACE_CMD} -e \ |
27 |
'/INSTALL/s|2xplot$$|2xplot.pl|' ${WRKSRC}/Makefile.in |
23 |
|
28 |
|
24 |
post-install: |
29 |
post-install: |
25 |
${INSTALL_SCRIPT} ${WRKSRC}/tcpdump2xplot.pl ${PREFIX}/bin |
30 |
${LN} -sf tcpdump2xplot.pl ${PREFIX}/bin/tcpdump2xplot |
26 |
.if !defined(NOPORTDOCS) |
31 |
.if !defined(NOPORTDOCS) |
27 |
${MKDIR} ${PREFIX}/share/doc/xplot |
32 |
@${MKDIR} ${DOCSDIR} |
28 |
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xplot |
33 |
.for doc in ${PORTDOCS} |
29 |
${INSTALL_DATA} ${WRKSRC}/README.tcp_plots ${PREFIX}/share/doc/xplot |
34 |
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} |
|
|
35 |
.endfor |
30 |
.endif |
36 |
.endif |
31 |
# ${MKDIR} ${PREFIX}/share/examples/xplot |
|
|
32 |
#.for i in ${XPLOT_DEMOS} |
33 |
# ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/examples/xplot |
34 |
#.endfor |
35 |
|
37 |
|
36 |
.include <bsd.port.mk> |
38 |
.include <bsd.port.mk> |