42071bac98
- USES=fortran and fix build with Clang (-Wno-return-type). - Staging.
33 lines
888 B
Makefile
33 lines
888 B
Makefile
# Created by: Pedro Giffuni <giffunip@asme.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gplot
|
|
PORTVERSION= 4.3
|
|
PORTREVISION= 5
|
|
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
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
CFLAGS+= -Wno-return-type
|
|
NO_WRKSUBDIR= yes
|
|
ALL_TARGET= drawcgm gtex gplot
|
|
PORTDOCS= gplot.hlp gplot.txt gtex.doc
|
|
USES= fortran
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gplot ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gtex ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/drawcgm/drawcgm.a ${STAGEDIR}${PREFIX}/lib/libcgm.a
|
|
${INSTALL_MAN} ${WRKSRC}/gplot.man ${STAGEDIR}${PREFIX}/man/man1/gplot.1
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|