Lines 13-35
Link Here
|
13 |
MAINTAINER= ports@FreeBSD.org |
13 |
MAINTAINER= ports@FreeBSD.org |
14 |
COMMENT= SEGA Genesis emulator |
14 |
COMMENT= SEGA Genesis emulator |
15 |
|
15 |
|
16 |
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg |
|
|
17 |
|
18 |
LICENSE= GPLv2 |
16 |
LICENSE= GPLv2 |
19 |
|
17 |
|
20 |
USE_BZIP2= yes |
18 |
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg |
21 |
USE_SDL= sdl |
|
|
22 |
USE_GMAKE= yes |
23 |
USE_GNOME= gtk12 |
24 |
MAKE_JOBS_UNSAFE= yes |
25 |
|
19 |
|
26 |
OPTIONS_DEFINE= OPTIMIZED_CFLAGS RAZE SDL |
20 |
OPTIONS_DEFINE= OPTIMIZED_CFLAGS SDL |
|
|
21 |
OPTIONS_DEFINE_i386= RAZE |
27 |
RAZE_DESC= Use RAZE z80 emulation (only for i386) |
22 |
RAZE_DESC= Use RAZE z80 emulation (only for i386) |
28 |
SDL_DESC= Use SDL for audio |
23 |
SDL_DESC= Use SDL for audio |
29 |
|
24 |
|
|
|
25 |
USE_BZIP2= yes |
26 |
USE_GNOME= gtk12 |
27 |
USE_SDL= sdl |
28 |
USE_GMAKE= yes |
30 |
GNU_CONFIGURE= yes |
29 |
GNU_CONFIGURE= yes |
31 |
CONFIGURE_ARGS= --program-transform-name=s/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/ |
30 |
CONFIGURE_ARGS= --program-transform-name=s/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/ |
32 |
CONFIGURE_ARGS+=--with-gtk |
31 |
CONFIGURE_ARGS+=--with-gtk |
|
|
32 |
MAKE_JOBS_UNSAFE= yes |
33 |
|
33 |
CPPFLAGS+= -I${LOCALBASE}/include |
34 |
CPPFLAGS+= -I${LOCALBASE}/include |
34 |
LDFLAGS+= -L${LOCALBASE}/lib |
35 |
LDFLAGS+= -L${LOCALBASE}/lib |
35 |
|
36 |
|
Lines 37-49
Link Here
|
37 |
|
38 |
|
38 |
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX} |
39 |
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX} |
39 |
|
40 |
|
40 |
.include <bsd.port.pre.mk> |
41 |
.include <bsd.port.options.mk> |
41 |
|
42 |
|
42 |
.if empty(PORT_OPTIONS:MOPTIMIZED_CFLAGS) |
43 |
.if empty(PORT_OPTIONS:MOPTIMIZED_CFLAGS) |
43 |
CONFIGURE_ARGS+= --without-gcc |
44 |
CONFIGURE_ARGS+= --without-gcc |
44 |
.endif |
45 |
.endif |
45 |
|
46 |
|
46 |
.if ${PORT_OPTIONS:MRAZE} && ${ARCH} == "i386" |
47 |
.if ${PORT_OPTIONS:MRAZE} |
47 |
BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm |
48 |
BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm |
48 |
CONFIGURE_ARGS+=--with-raze |
49 |
CONFIGURE_ARGS+=--with-raze |
49 |
.else |
50 |
.else |
Lines 63-66
Link Here
|
63 |
@${CAT} ${PKGMESSAGE} |
64 |
@${CAT} ${PKGMESSAGE} |
64 |
@${ECHO_CMD} |
65 |
@${ECHO_CMD} |
65 |
|
66 |
|
66 |
.include <bsd.port.post.mk> |
67 |
.include <bsd.port.mk> |