mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
39fc32e828
a zeising, kwm production, with help from dumbbell, bdrewery: NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE This update switches over to use the new xorg stack by default on FreeBSD 9 and 10 stable, on osversions where vt(9) is available. It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in /etc/make.conf . FreeBSD 8-STABLE and released versions of FreeBSD still use the old version. A package repository with binary packages for new xorg will be available soon. This patch also contains updates of libxcb and related ports, pixman, as well as some drivers and utilities. Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due to xserver version change. Apart from these updates, the way shared libraries are handled has been changed for all xorg ports, as well as libxml2 and freetype, which means ltverhack is gone and as a consequence shared libraries have been bumped. The plan is that this change will make library bumps less likely in the future. All affected ports have had their portrevisions bumped as a consequence of this. Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT. Update instructions, hardware support, and more notes can be found on https://wiki.freebsd.org/Graphics Thanks to: all testers, bdrewery and the FreeBSD x11@ team exp-run by: bdrewery [1] PR: ports/187602 [1] Approved by: portmgr (bdrewery), core (jhb)
67 lines
1.6 KiB
Makefile
67 lines
1.6 KiB
Makefile
# Created by: Tony Maher <tonym@biolateral.com.au>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xgobi
|
|
PORTVERSION= 2002.06.20
|
|
PORTREVISION= 4
|
|
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}
|
|
CFLAGS+= -Wno-return-type
|
|
|
|
USES= imake
|
|
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.
|
|
|
|
NO_STAGE= yes
|
|
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>
|