freebsd-ports/emulators/advancemenu/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

56 lines
1.4 KiB
Makefile

# Created by: alepulver
# $FreeBSD$
PORTNAME= advancemenu
PORTVERSION= 2.8
PORTREVISION= 2
CATEGORIES= emulators
MASTER_SITES= https://github.com/amadvance/advancemame/releases/download/${DISTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Frontend for AdvanceMAME, MAME, MESS, RAINE
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libexpat.so:textproc/expat2
USES= gmake localbase:ldflags
USE_SDL= sdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-svgalib --disable-fb --disable-alsa --enable-oss \
--disable-slang --disable-ncurses --disable-kevent
MAKE_JOBS_UNSAFE= yes
PORTDOCS= *
PLIST_FILES= bin/advmenu man/man1/advmenu.1.gz
OPTIONS_DEFINE= DOCS FREETYPE
OPTIONS_DEFINE_i386= ASM
OPTIONS_DEFAULT= FREETYPE
OPTIONS_DEFAULT_i386= ASM
ASM_BUILD_DEPENDS= nasm:devel/nasm
ASM_USE= gcc=any
ASM_CONFIGURE_ENABLE= asm
FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2
FREETYPE_CONFIGURE_ENABLE= freetype
post-patch:
@${REINPLACE_CMD} -e \
's|-lpthread|-pthread|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|@@|@|' ${WRKSRC}/Makefile.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/advmenu ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/advmenu.1 ${STAGEDIR}${MANPREFIX}/man/man1
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} HISTORY README RELEASE \
${STAGEDIR}${DOCSDIR})
${INSTALL_DATA} ${WRKSRC}/doc/advmenu.[ht]* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>