1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/emulators/nonpareil/Makefile
Niclas Zeising 39fc32e828 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

74 lines
2.3 KiB
Makefile

# Created by: trasz <trasz@pin.if.uz.zgora.pl>
# $FreeBSD$
PORTNAME= nonpareil
PORTVERSION= 0.79
PORTREVISION= 3
CATEGORIES= emulators
MASTER_SITES= http://nonpareil.brouhaha.com/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Simulator for many HP calculators
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
USES= bison pkgconfig scons
USE_GNOME= gtk20 libxml2
USE_SDL= sdl
PLIST_EXECS= bin/modutil bin/nonpareil bin/uasm
PLIST_DATA= lib/nonpareil/21.kml lib/nonpareil/21.obj \
lib/nonpareil/21.png lib/nonpareil/25.kml \
lib/nonpareil/25.obj lib/nonpareil/25.png \
lib/nonpareil/32e.kml lib/nonpareil/32e.obj \
lib/nonpareil/32e.png lib/nonpareil/33c.kml \
lib/nonpareil/33c.obj lib/nonpareil/33c.png \
lib/nonpareil/34c.kml lib/nonpareil/34c.obj \
lib/nonpareil/34c.png lib/nonpareil/35.kml \
lib/nonpareil/35.lst lib/nonpareil/35.obj \
lib/nonpareil/35.png lib/nonpareil/37e.kml \
lib/nonpareil/37e.obj lib/nonpareil/37e.png \
lib/nonpareil/38c.kml lib/nonpareil/38c.obj \
lib/nonpareil/38c.png lib/nonpareil/38e.kml \
lib/nonpareil/38e.obj lib/nonpareil/41cv.kml \
lib/nonpareil/41cv.mod lib/nonpareil/41cv.png \
lib/nonpareil/41cx.kml lib/nonpareil/41cx.mod \
lib/nonpareil/45.kml lib/nonpareil/45.lst \
lib/nonpareil/45.obj lib/nonpareil/45.png \
lib/nonpareil/55.kml lib/nonpareil/55.lst \
lib/nonpareil/55.obj lib/nonpareil/55.png \
lib/nonpareil/80.kml lib/nonpareil/80.lst \
lib/nonpareil/80.obj lib/nonpareil/80.png \
lib/nonpareil/82143a.mod lib/nonpareil/82182a.mod
PLIST_FILES= ${PLIST_EXECS} ${PLIST_DATA}
PLIST_DIRS= lib/nonpareil
PORTDOCS= CREDITS DEBUGGING README TODO
NO_STAGE= yes
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e \
's|%%CFLAGS%%|${CFLAGS}| ; \
s|%%CC%%|${CC}|' ${WRKSRC}/src/SConscript
@${REINPLACE_CMD} -E \
"s|('/usr/local')|\1,PathOption.PathAccept|" ${WRKSRC}/SConstruct
@${REINPLACE_CMD} -e \
's|<stdint.h>|<inttypes.h>|g' ${WRKSRC}/src/*.[cly]
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
-${CHOWN} ${BINOWN}:${BINGRP} ${PLIST_FILES:S|^|${PREFIX}/|}
-${TOUCH} ${PLIST_FILES:S|^|${PREFIX}/|}
-${CHMOD} ${SHAREMODE} ${PLIST_DATA:S|^|${PREFIX}/|}
-${CHMOD} ${BINMODE} ${PLIST_EXECS:S|^|${PREFIX}/|}
.include <bsd.port.post.mk>