summaryrefslogblamecommitdiff
path: root/graphics/gplot/Makefile
blob: 9d09f2ff6a24dbd126789bbba3108befe9e65b1d (plain) (tree)
1
2
3
4
5
6




                                                         
                                                         













                                            
                                            







                                                                          



                                                              


                      
# New ports collection makefile for:    Gplot
# Version required:     4.3
# Date created:         26 Dec 97
# Whom:                 Pedro Giffuni <giffunip@asme.org>
#
# $Id: Makefile,v 1.1.1.1 1998/02/18 20:53:42 steve Exp $
#

DISTNAME=	gplot
PKGNAME=	gplot-4.3
CATEGORIES=	graphics
MASTER_SITES=	ftp://ftp.psc.edu/pub/gplot/
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	giffunip@asme.org

NO_WRKSUBDIR=	yes

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

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.mk>