Lines 15-34
Link Here
|
15 |
|
15 |
|
16 |
LICENSE= GPLv2 |
16 |
LICENSE= GPLv2 |
17 |
|
17 |
|
18 |
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg |
18 |
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg |
19 |
|
19 |
|
20 |
OPTIONS_DEFINE= OPTIMIZED_CFLAGS SDL |
20 |
OPTIONS_DEFINE= OPTIMIZED_CFLAGS SDL |
21 |
OPTIONS_DEFINE_i386= RAZE |
21 |
OPTIONS_DEFINE_i386= RAZE |
22 |
RAZE_DESC= Use RAZE z80 emulation (only for i386) |
22 |
RAZE_DESC= Use RAZE z80 emulation |
23 |
SDL_DESC= Use SDL for audio |
23 |
SDL_DESC= Use SDL for audio |
24 |
|
24 |
|
25 |
USE_BZIP2= yes |
25 |
USE_BZIP2= yes |
|
|
26 |
USES= gmake |
26 |
USE_GNOME= gtk12 |
27 |
USE_GNOME= gtk12 |
27 |
USE_SDL= sdl |
28 |
USE_SDL= sdl |
28 |
USE_GMAKE= yes |
|
|
29 |
GNU_CONFIGURE= yes |
29 |
GNU_CONFIGURE= yes |
30 |
CONFIGURE_ARGS= --program-transform-name=s/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/ |
30 |
CONFIGURE_ARGS= --program-transform-name=s/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/ \ |
31 |
CONFIGURE_ARGS+=--with-gtk |
31 |
--with-gtk |
32 |
MAKE_JOBS_UNSAFE= yes |
32 |
MAKE_JOBS_UNSAFE= yes |
33 |
|
33 |
|
34 |
CPPFLAGS+= -I${LOCALBASE}/include |
34 |
CPPFLAGS+= -I${LOCALBASE}/include |
Lines 38-44
Link Here
|
38 |
|
38 |
|
39 |
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX} |
39 |
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX} |
40 |
|
40 |
|
41 |
NO_STAGE= yes |
|
|
42 |
.include <bsd.port.options.mk> |
41 |
.include <bsd.port.options.mk> |
43 |
|
42 |
|
44 |
.if empty(PORT_OPTIONS:MOPTIMIZED_CFLAGS) |
43 |
.if empty(PORT_OPTIONS:MOPTIMIZED_CFLAGS) |
Lines 57-68
Link Here
|
57 |
.endif |
56 |
.endif |
58 |
|
57 |
|
59 |
post-patch: |
58 |
post-patch: |
60 |
@${REINPLACE_CMD} -e '/%define %1 @UNDERSCORE@%1 /d' \ |
59 |
@${REINPLACE_CMD} -e \ |
61 |
${WRKSRC}/raze/raze.asm.in |
60 |
'/%define %1 @UNDERSCORE@%1 /d' ${WRKSRC}/raze/raze.asm.in |
62 |
|
|
|
63 |
post-install: |
64 |
@${ECHO_CMD} |
65 |
@${CAT} ${PKGMESSAGE} |
66 |
@${ECHO_CMD} |
67 |
|
61 |
|
68 |
.include <bsd.port.mk> |
62 |
.include <bsd.port.mk> |