freebsd-ports/graphics/robot/Makefile
2004-02-08 02:51:18 +00:00

55 lines
1.4 KiB
Makefile

# New ports collection makefile for: robot
# Date created: 11 October 2003
# Whom: Pedro F. Giffuni <giffunip@asme.org>
#
# $FreeBSD$
#
PORTNAME= robot
PORTVERSION= 4.93.89
PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= ftp://lheaftp.gsfc.nasa.gov/pub/corbet/robot/
DISTNAME= robot-beta
MAINTAINER= ports@FreeBSD.org
COMMENT= Graph plotting and data analysis program using OpenLook
BUILD_DEPENDS= fsplit:${PORTSDIR}/devel/fortran-utils
LIB_DEPENDS= xview.3:${PORTSDIR}/x11-toolkits/xview
USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
MAKE_ENV+= OPENWINHOME=${X11BASE}
WEB_BROWSER?= mozilla
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502000
BROKEN= "Broken pkg-plist"
.endif
pre-build:
@${REINPLACE_CMD} -e 's+netscape+${WEB_BROWSER}+ ' \
${WRKSRC}/Robot/Makefile
MAN1= robot.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/Robot/robot ${PREFIX}/bin
@${MKDIR} ${PREFIX}/lib/help
${INSTALL_DATA} ${WRKSRC}/Docs/robot.info ${PREFIX}/lib/help
${INSTALL_MAN} ${WRKSRC}/Docs/robot.man ${PREFIX}/man/manl/robot.l
.ifndef NOPORTDOCS
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Docs/RobotManual.ps ${DOCSDIR}
@${GZIP_CMD} ${DOCSDIR}/RobotManual.ps
@${REINPLACE_CMD} -e 's+/usr/bin+${PREFIX}/bin+ ' \
${WRKSRC}/Demos/*.rob
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/Demos/*.rob ${EXAMPLESDIR}
.endif
.include <bsd.port.post.mk>