openbsd-ports/emulators/generator/Makefile
jasper 2ba3302f9f - fix master site
- switch to REVISION/new DEPENDS
2010-09-01 11:27:51 +00:00

39 lines
896 B
Makefile

# $OpenBSD: Makefile,v 1.8 2010/09/01 11:27:51 jasper Exp $
COMMENT= Sega Genesis emulator
DISTNAME= generator-0.35-cbiere-r4
PKGNAME= generator-0.35r4
REVISION= 1
EXTRACT_SUFX= .tar.bz2
CATEGORIES= emulators
MASTER_SITES= ${HOMEPAGE}/cbiere/generator/
HOMEPAGE= http://www.squish.net/generator/
# GPLv2 + custom licenses for CPU emulators
PERMIT_DISTFILES_CDROM= can't sell
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= can't sell
PERMIT_PACKAGE_FTP= Yes
WANTLIB= c m pthread z bz2 SDL jpeg
LIB_DEPENDS+= ::archivers/bzip2 \
::devel/sdl \
::graphics/jpeg
USE_X11= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=--with-sdl --with-sdl-audio --without-gcc
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.if ${MACHINE_ARCH} == "i386"
BUILD_DEPENDS+= ::devel/nasm
CONFIGURE_ARGS+=--with-raze
.else
CONFIGURE_ARGS+=--with-cmz80
.endif
.include <bsd.port.mk>