Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/emulators/gngb/Makefile
16124 views
# Created by: Yukihiro Nakai <[email protected]>

PORTNAME=	gngb
PORTVERSION=	20060309
PORTREVISION=	10
CATEGORIES=	emulators
MASTER_SITES=	http://m.peponas.free.fr/gngb/download/

MAINTAINER=	[email protected]
COMMENT=	GameBoy(tm) emulator

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		gmake localbase sdl
USE_CSTD=	gnu89
USE_SDL=	sdl
GNU_CONFIGURE=	yes

PLIST_FILES=	bin/gngb \
		man/man1/gngb.1.gz

OPTIONS_DEFINE=	OPENGL

OPENGL_USES=		gl
OPENGL_USE=		GL=gl
OPENGL_CONFIGURE_ENABLE=gl

post-patch:
	@${REINPLACE_CMD} -e \
		's|"$$SDL_CONFIG" = yes|-n "$$SDL_CONFIG"|g ; \
		 s|sdl-config |$$SDL_CONFIG |g ; \
		 s|$$OPT||g' ${WRKSRC}/configure

.include <bsd.port.mk>