2012-11-08 00:32:51 +01:00
|
|
|
# Created by: trasz <trasz@pin.if.uz.zgora.pl>
|
2006-12-21 21:20:43 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= tme
|
2012-11-08 00:32:51 +01:00
|
|
|
PORTVERSION= 0.8
|
2013-09-29 19:01:41 +02:00
|
|
|
PORTREVISION= 2
|
2006-12-21 21:20:43 +01:00
|
|
|
CATEGORIES= emulators
|
2007-09-26 19:19:03 +02:00
|
|
|
MASTER_SITES= http://people.csail.mit.edu/fredette/tme/
|
2006-12-21 21:20:43 +01:00
|
|
|
|
2010-10-25 22:09:06 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2012-07-25 08:32:06 +02:00
|
|
|
COMMENT= Emulator for Sun 2/120, 3/150, and SPARCstation 2 machines
|
2006-12-21 21:20:43 +01:00
|
|
|
|
2012-11-08 00:32:51 +01:00
|
|
|
LICENSE= BSD
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
|
|
|
LIB_DEPENDS= pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
|
|
|
|
pcre:${PORTSDIR}/devel/pcre \
|
|
|
|
cairo:${PORTSDIR}/graphics/cairo \
|
|
|
|
png15:${PORTSDIR}/graphics/png \
|
|
|
|
freetype:${PORTSDIR}/print/freetype2 \
|
|
|
|
expat:${PORTSDIR}/textproc/expat2 \
|
The FreeBSD x11 team proudly presents
an zeising, kwm, miwi, bapt, eadler production:
Xorg 7.7
Starring:
xserver 1.12.4 (new xorg only)
Mesa 8.0.4, including libGL, libGLU and dri (new xorg only)
libX11 1.5.0
libxcb 1.9
libdrm 2.4.42 (new xorg only)
freeglut 2.8.1
Also starring:
Updates to drivers and other libraries and utilities
Additional notes:
Change pkgconf to be a build dependency.
Add a new USE_XORG, xcb, to depend on libxcb and update all ports to use
this.
Trim makefile headers.
Take maintanership of x11/xcb-proto, ok'd by ashish.
If you are running WITH_NEW_XORG=, you need to rebuild all installed
drivers, see UPDATING for more information.
Various fixes to make ports compile.
PR: ports/177942
Exp-run by: miwi
Approved by: portmgr (miwi)
Thanks to all who helped testing!
2013-05-25 16:37:02 +02:00
|
|
|
fontconfig:${PORTSDIR}/x11-fonts/fontconfig
|
2012-11-08 00:32:51 +01:00
|
|
|
|
2013-09-29 19:01:41 +02:00
|
|
|
USES= pkgconfig gettext gmake iconv perl5
|
2012-11-08 00:32:51 +01:00
|
|
|
USE_GNOME= gdkpixbuf2 gtk20
|
|
|
|
USE_AUTOTOOLS= libtool libltdl
|
|
|
|
CONFIGURE_ENV= ac_cv_have_isinff=no
|
|
|
|
CONFIGURE_ARGS= --datadir=${WRKDIR}/tmproot --disable-warnings
|
The FreeBSD x11 team proudly presents
an zeising, kwm, miwi, bapt, eadler production:
Xorg 7.7
Starring:
xserver 1.12.4 (new xorg only)
Mesa 8.0.4, including libGL, libGLU and dri (new xorg only)
libX11 1.5.0
libxcb 1.9
libdrm 2.4.42 (new xorg only)
freeglut 2.8.1
Also starring:
Updates to drivers and other libraries and utilities
Additional notes:
Change pkgconf to be a build dependency.
Add a new USE_XORG, xcb, to depend on libxcb and update all ports to use
this.
Trim makefile headers.
Take maintanership of x11/xcb-proto, ok'd by ashish.
If you are running WITH_NEW_XORG=, you need to rebuild all installed
drivers, see UPDATING for more information.
Various fixes to make ports compile.
PR: ports/177942
Exp-run by: miwi
Approved by: portmgr (miwi)
Thanks to all who helped testing!
2013-05-25 16:37:02 +02:00
|
|
|
USE_XORG= pixman x11 xau xcb xcomposite xcursor xdamage xdmcp xext xfixes \
|
2012-11-08 00:32:51 +01:00
|
|
|
xi xinerama xrandr xrender
|
|
|
|
USE_LDCONFIG= yes
|
2006-12-21 21:20:43 +01:00
|
|
|
MAKE_ENV= LANG=C
|
2012-11-08 00:32:51 +01:00
|
|
|
MAKE_JOBS_UNSAFE=yes
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${WRKSRC}/ic/ieee754/.libs
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
|
2013-09-20 18:43:52 +02:00
|
|
|
NO_STAGE= yes
|
2012-11-08 00:32:51 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2006-12-21 21:20:43 +01:00
|
|
|
|
|
|
|
post-patch:
|
2012-11-08 00:32:51 +01:00
|
|
|
@${REINPLACE_CMD} -e '/misc_hosts/s|= no|= xno|' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e 's|\.\./ieee754|$$(top_builddir)/ic/ieee754|g' \
|
|
|
|
${WRKSRC}/ic/m68k/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e 's|\.\./ieee754|$$(top_builddir)/ic/ieee754|g' \
|
|
|
|
${WRKSRC}/ic/sparc/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e '/^#ifdef/s|\*/||' \
|
|
|
|
${WRKSRC}/libtme/misc.c
|
|
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
|
|
|
|
${WRKSRC}/libtme/module.c
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
@(cd ${WRKDIR}/tmproot/examples/tme \
|
|
|
|
&& ${COPYTREE_SHARE} . ${EXAMPLESDIR})
|
|
|
|
.endif
|
2006-12-21 21:20:43 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|