aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gplot/Makefile
blob: e1e97f94a95d70acdaeeef376b3ad4d98dd6ddf6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Created by: Pedro Giffuni <giffunip@asme.org>
# $FreeBSD$

PORTNAME=   gplot
PORTVERSION=    4.3
PORTREVISION=   4
CATEGORIES= graphics
MASTER_SITES=   ftp://ftp.psc.edu/pub/gplot/
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   .tar.Z

MAINTAINER= ports@FreeBSD.org
COMMENT=    Graphic utilities for the processing of CGM metafiles

NO_WRKSUBDIR=   yes
ALL_TARGET= drawcgm gtex gplot
MAN1=       gplot.1
DOCS=       gplot.hlp gplot.txt gtex.doc
USE_FORTRAN=    yes

NO_STAGE=   yes
.include <bsd.port.pre.mk>

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/gplot ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/gtex ${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/drawcgm/drawcgm.a ${PREFIX}/lib/libcgm.a
    ${INSTALL_MAN} ${WRKSRC}/gplot.man ${PREFIX}/man/man1/gplot.1
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/Gplot
.for f in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/doc/Gplot
    ${GZIP_CMD} ${PREFIX}/share/doc/Gplot/$f
.endfor
.endif

.include <bsd.port.post.mk>