1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/math/xgobi/Makefile
Florent Thoumie 340b57f8be - Update X.org ports to 7.4+ (few ports are more recent than the katamari).
- Bump PORTREVISION for all ports depending on libglut since the shlib
version number went from 4 to 3.
- Bump PORTREVISION for all ports depending on libXaw as libXaw.so.8 isn't
installed anymore.
- Couple of ports fixes (mostly missing xorg components added to USE_XORG).
2009-01-23 16:28:36 +00:00

69 lines
1.7 KiB
Makefile

# New ports collection makefile for: xgobi
# Date created: 5 December 2001
# Whom: Tony Maher <tonym@biolateral.com.au>
#
# $FreeBSD$
#
PORTNAME= xgobi
PORTVERSION= 2002.06.20
PORTREVISION= 3
CATEGORIES= math graphics
MASTER_SITES= http://public.research.att.com/~stat/xgobi/
DISTNAME= xgobi
EXTRACT_SUFX= .sh.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical data visualisation tool
NO_CDROM= "Restrictive copyright (do not sell for profit)"
PATCH_WRKSRC= ${WRKDIR}/${PORTNAME}/src
CONFIGURE_WRKSRC= ${PATCH_WRKSRC}
BUILD_WRKSRC= ${PATCH_WRKSRC}
USE_IMAKE= true
USE_XORG= xbitmaps xaw
XFREE86_HTML_MAN= no
MANCOMPRESSED= no
MAN1= xgvis.1 xgobi.1
PROGRAMS= xgvis xgobi
MANDIR= ${WRKSRC}/manpages
# The distfile is a shar file. It also does not extract cleanly.
# 3 files extract to current directory so use post-extract to move
# them to proper locations.
do-extract:
@${MKDIR} ${WRKDIR}
@for file in ${EXTRACT_ONLY}; do \
cd ${WRKDIR} && \
${GZCAT} ${DISTDIR}/$${file} | ${SH} > /dev/null 2>&1; \
done
@${MV} ${WRKDIR}/aclocal.m4 ${WRKSRC}
@${MV} ${WRKDIR}/make.out ${WRKSRC}
@${MV} ${WRKDIR}/xgobi.html ${MANDIR}
do-install:
.for file in ${PROGRAMS}
${INSTALL_PROGRAM} ${WRKSRC}/src/${file} ${PREFIX}/bin
${STRIP_CMD} ${PREFIX}/bin/${file}
${INSTALL_MAN} ${MANDIR}/${file}.1 ${PREFIX}/man/man1
.endfor
${INSTALL_DATA} ${WRKSRC}/XGobi.ex ${PREFIX}/lib/X11/app-defaults
.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}
@ cd ${WRKSRC}; \
for dir in data_*; do \
${MKDIR} ${EXAMPLESDIR}/$${dir}; \
cd ${WRKSRC}/$${dir}; \
for file in *; do \
${INSTALL_DATA} $${file} ${EXAMPLESDIR}/$${dir}; \
done \
done
.endif
.include <bsd.port.mk>