blob: e490b03a4e1305bf058e5a7c99d9d1dce143804a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Created by: Li-Lun Wang <llwang@infor.org>
# $FreeBSD$
PORTNAME= cygne-sdl
PORTVERSION= 0.1
PORTREVISION= 4
CATEGORIES= emulators
MASTER_SITES= http://sdlemu.ngemu.com/OpenProjects/
DISTNAME= Cygne-SDL-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= SDL port of Cygne, a free Bandai Wonderswan emulator
LICENSE= GPLv2
WRKSRC= ${WRKDIR}/Cygne-SDL-${PORTVERSION}/src
USE_SDL= sdl
PLIST_FILES= bin/cygne
OPTIONS_DEFINE_i386= OPTIMIZED_CFLAGS
OPTIONS_DEFAULT_i386= OPTIMIZED_CFLAGS
OPTIMIZED_CFLAGS_CFLAGS=\
-fomit-frame-pointer -fexpensive-optimizations \
-funroll-loops -funroll-all-loops -fschedule-insns2 \
-fstrength-reduce -malign-double -mfancy-math-387 \
-ffast-math -fforce-addr
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
USE_GCC= any
.endif
post-patch:
${CP} ${FILESDIR}/Makefile.bsd ${WRKSRC}/Makefile
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} cygne ${STAGEDIR}${PREFIX}/bin)
.include <bsd.port.post.mk>
|