2013-09-20 15:58:41 +00:00
|
|
|
# Created by: ijliao
|
2002-02-09 07:30:11 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= slffea
|
2011-01-04 01:03:03 +00:00
|
|
|
PORTVERSION= 1.5
|
The FreeBSD x11@ and graphics team proudly presents
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)
2014-04-16 18:28:47 +00:00
|
|
|
PORTREVISION= 2
|
2002-02-09 07:30:11 +00:00
|
|
|
CATEGORIES= cad
|
2009-08-22 00:15:15 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/SLFFEA/${PORTVERSION}
|
2011-01-04 01:03:03 +00:00
|
|
|
DISTNAME= ${PORTNAME}15
|
2002-02-09 07:30:11 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2010-06-19 04:23:03 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 17:07:10 +00:00
|
|
|
COMMENT= San Le's Free Finite Element Analysis
|
2002-02-09 07:30:11 +00:00
|
|
|
|
2005-07-29 17:59:37 +00:00
|
|
|
CONFLICTS= swi-pl-[0-9]* TenDRA-[0-9]*
|
2005-11-05 03:01:38 +00:00
|
|
|
|
2011-01-04 01:03:03 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2012-08-04 22:52:02 +00:00
|
|
|
USE_XORG= xmu xt
|
2009-01-23 16:28:36 +00:00
|
|
|
USE_GL= glut
|
|
|
|
|
2013-02-07 14:57:49 +00:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
2011-01-04 01:03:03 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2002-02-09 07:30:11 +00:00
|
|
|
ALL_TARGET= everything
|
2009-11-22 19:49:43 +00:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2002-02-09 07:30:11 +00:00
|
|
|
|
2005-11-05 03:01:38 +00:00
|
|
|
EXEC= beam/beam/bm beam/beam_gr/bmpost brick/brick/br \
|
|
|
|
brick/brick_gr/brpost brick/brick_gr/pvbr \
|
|
|
|
brick/brick_nl/nbr plate/plate/pl plate/plate_gr/plpost \
|
|
|
|
quad/quad/qd quad/quad_gr/qdpost shell/shell/shl \
|
|
|
|
shell/shell_gr/shpost shell/shell_gr/pvs truss/truss/ts \
|
|
|
|
truss/truss_gr/tspost
|
2005-07-29 17:59:37 +00:00
|
|
|
PLIST_FILES= ${EXEC:T:S/^/bin\//}
|
|
|
|
|
2002-02-09 07:30:11 +00:00
|
|
|
post-patch:
|
2002-09-29 08:07:47 +00:00
|
|
|
@(${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
|
2005-11-05 03:01:38 +00:00
|
|
|
${REINPLACE_CMD} -E -e "s|^CC = .*|CC = ${CC} ${CFLAGS}|g" \
|
2013-02-07 14:57:49 +00:00
|
|
|
-e "s|-lglut|-lglut -pthread|g" \
|
2005-11-05 03:01:38 +00:00
|
|
|
-e "s|/usr/local|${LOCALBASE}|g" \
|
- 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 17:56:05 +00:00
|
|
|
-e "s|/usr/X/|${LOCALBASE}/|g" \
|
|
|
|
-e "s|/usr/X11/|${LOCALBASE}/|g" \
|
|
|
|
-e "s|/usr/X11R6/|${LOCALBASE}/|g")
|
2002-02-09 07:30:11 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
.for file in ${EXEC}
|
2014-01-20 20:51:34 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
|
2002-02-09 07:30:11 +00:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|