freebsd-ports/emulators/generator/Makefile
Kris Kennaway b4fd0b8e38 Reset maintainer on ports owned by the following committers who have
been inactive for over 12 months and did not respond to my email confirming
their status: keith, nakai, torstenb

Reviewed by:	portmgr
2003-11-03 01:19:26 +00:00

55 lines
1.3 KiB
Makefile

# New ports collection makefile for: generator
# Date created: 16 April 2001
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= generator
PORTVERSION= 0.34
CATEGORIES= emulators
MASTER_SITES= http://www.squish.net/generator/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= SEGA Genesis emulator
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
SDL-1.1.5:${PORTSDIR}/devel/sdl12
.if (${MACHINE_ARCH} == "i386")
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
.endif
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_GMAKE= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gtk
.if (${MACHINE_ARCH} == "i386")
CONFIGURE_ARGS+= --with-raze
.else
CONFIGURE_ARGS+= --with-cmz80
.endif
MAKE_ENV+= GTK_CONFIG="${GTK_CONFIG}" \
SDL_CONFIG="${SDL_CONFIG}"
CONFIGURE_ENV+= GTK_CONFIG="${GTK_CONFIG}" \
SDL_CONFIG="${SDL_CONFIG}"
.include <bsd.port.pre.mk>
post-patch:
.if ${OSVERSION} >= 500035
@${REINPLACE_CMD} -e \
's|-malign-loops|-falign-loops|g ; \
s|-malign-jumps|-falign-jumps|g ; \
s|-malign-functions|-falign-functions|g' ${WRKSRC}/configure.in
@${REINPLACE_CMD} -e \
's|-malign-loops|-falign-loops|g ; \
s|-malign-jumps|-falign-jumps|g ; \
s|-malign-functions|-falign-functions|g' ${WRKSRC}/configure
.endif
.include <bsd.port.post.mk>