1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/emulators/gxemul/Makefile
Gerald Pfeifer 89f8b05214 Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.
2016-11-20 09:38:08 +00:00

54 lines
1.1 KiB
Makefile

# Created by: Janni
# $FreeBSD$
PORTNAME= gxemul
PORTVERSION= 0.6.0.1
PORTREVISION= 2
CATEGORIES= emulators
MASTER_SITES= http://gxemul.sourceforge.net/src/ \
http://gavare.se/gxemul/src/
MAINTAINER= ports@FreeBSD.org
COMMENT= Instruction-level machine emulator
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GCC= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --without-unittests
ALL_TARGET= build
MAKE_JOBS_UNSAFE= yes
# svgalib installs vga.h, which conflicts with gxemul when building with
# a virtual VGA adaptor.
CONFLICTS= svgalib-[0-9]*
PORTDOCS= *
PLIST_FILES= bin/gxemul man/man1/gxemul.1.gz
OPTIONS_DEFINE= DOCS X11
OPTIONS_DEFAULT= X11
X11_USE= xorg=x11
X11_CONFIGURE_OFF= --disable-x
post-patch:
@${REINPLACE_CMD} -Ee \
's|/usr/X11R6|${LOCALBASE}|g; \
/CXXFLAGS=/s|-O[0-9]?||g; \
/CXXFLAGS=/s|-f[a-zA-Z-]+||g' ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gxemul \
${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/gxemul.1 \
${STAGEDIR}${MAN1PREFIX}/man/man1
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . \
${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>