2010-11-15 18:22:07 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2010/11/15 23:22:08 espie Exp $
|
2006-05-02 20:01:44 -04:00
|
|
|
|
2008-09-13 03:24:46 -04:00
|
|
|
COMMENT= Sega Genesis emulator
|
|
|
|
|
|
|
|
DISTNAME= generator-0.35-cbiere-r4
|
2010-09-01 07:27:51 -04:00
|
|
|
PKGNAME= generator-0.35r4
|
|
|
|
REVISION= 1
|
2006-05-02 20:01:44 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
CATEGORIES= emulators
|
2010-09-01 07:27:51 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}/cbiere/generator/
|
2006-05-02 20:01:44 -04:00
|
|
|
|
2008-11-03 15:50:00 -05:00
|
|
|
HOMEPAGE= http://www.squish.net/generator/
|
2006-05-02 20:01:44 -04:00
|
|
|
|
2008-09-13 03:24:46 -04:00
|
|
|
# GPLv2 + custom licenses for CPU emulators
|
2007-09-15 20:45:13 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= can't sell
|
2006-05-02 20:01:44 -04:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-09-15 20:45:13 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= can't sell
|
2006-05-02 20:01:44 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2010-09-01 07:27:51 -04:00
|
|
|
WANTLIB= c m pthread z bz2 SDL jpeg
|
2006-05-02 20:01:44 -04:00
|
|
|
|
2010-11-15 18:22:07 -05:00
|
|
|
LIB_DEPENDS+= archivers/bzip2 \
|
|
|
|
devel/sdl \
|
|
|
|
graphics/jpeg
|
2006-05-02 20:01:44 -04:00
|
|
|
|
|
|
|
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"
|
2010-11-15 18:22:07 -05:00
|
|
|
BUILD_DEPENDS+= devel/nasm
|
2006-05-02 20:01:44 -04:00
|
|
|
CONFIGURE_ARGS+=--with-raze
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--with-cmz80
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|