2003-12-14 01:17:15 +01:00
|
|
|
# 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
|
2009-09-13 02:08:01 +02:00
|
|
|
PORTREVISION= 9
|
2003-12-14 01:17:15 +01:00
|
|
|
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
|
|
|
|
|
2007-02-10 04:28:20 +01:00
|
|
|
BUILD_DEPENDS= fsplit:${PORTSDIR}/devel/fortran-utils \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
imake:${PORTSDIR}/devel/imake
|
2003-12-14 01:17:15 +01:00
|
|
|
LIB_DEPENDS= xview.3:${PORTSDIR}/x11-toolkits/xview
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
MAKE_ENV+= OPENWINHOME=${LOCALBASE}
|
2007-01-17 22:27:07 +01:00
|
|
|
WEB_BROWSER?= firefox
|
2007-07-14 12:02:06 +02:00
|
|
|
USE_FORTRAN= yes
|
2007-01-17 22:27:07 +01:00
|
|
|
FFLAGS+= -ffixed-line-length-80
|
2003-12-14 01:17:15 +01:00
|
|
|
|
2005-12-28 17:14:07 +01:00
|
|
|
MANL= robot.l
|
|
|
|
|
2003-12-14 01:17:15 +01:00
|
|
|
pre-build:
|
|
|
|
@${REINPLACE_CMD} -e 's+netscape+${WEB_BROWSER}+ ' \
|
|
|
|
${WRKSRC}/Robot/Makefile
|
|
|
|
|
|
|
|
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
|
2009-04-11 22:41:16 +02:00
|
|
|
.endif
|
|
|
|
.ifndef NOPORTDOCS
|
2003-12-14 01:17:15 +01:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Demos/*.rob ${EXAMPLESDIR}
|
|
|
|
.endif
|
|
|
|
|
2004-02-22 09:12:36 +01:00
|
|
|
.include <bsd.port.mk>
|