Lines 6-16
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= generator |
8 |
PORTNAME= generator |
9 |
PORTVERSION= 0.35 |
9 |
PORTVERSION= 0.35.r1 |
|
|
10 |
PORTEPOCH= 1 |
10 |
CATEGORIES= emulators |
11 |
CATEGORIES= emulators |
11 |
MASTER_SITES= http://www.ghostwhitecrab.com/generator/ |
12 |
MASTER_SITES= http://www.ghostwhitecrab.com/generator/ \ |
|
|
13 |
http://www.ghostwhitecrab.de/generator/ |
12 |
PKGNAMESUFFIX= -cbiere |
14 |
PKGNAMESUFFIX= -cbiere |
13 |
DISTNAME= ${PORTNAME}-${PORTVERSION}${PKGNAMESUFFIX} |
15 |
DISTNAME= ${PORTNAME}-0.35${PKGNAMESUFFIX}-r1 |
14 |
|
16 |
|
15 |
MAINTAINER= alejandro@varnet.biz |
17 |
MAINTAINER= alejandro@varnet.biz |
16 |
COMMENT= SEGA Genesis emulator |
18 |
COMMENT= SEGA Genesis emulator |
Lines 26-37
Link Here
|
26 |
RAZE "Use RAZE z80 emulation (only for i386)" on \ |
28 |
RAZE "Use RAZE z80 emulation (only for i386)" on \ |
27 |
SDL_AUDIO "Use SDL for audio" off |
29 |
SDL_AUDIO "Use SDL for audio" off |
28 |
|
30 |
|
29 |
GNU_CONFIGURE= yes |
31 |
GNU_CONFIGURE= yes |
30 |
CONFIGURE_ARGS= --program-transform-name=s/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/ |
32 |
CONFIGURE_ARGS= --program-transform-name=s/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/ |
31 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
|
|
32 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
33 |
LDFLAGS="-L${LOCALBASE}/lib" |
34 |
CONFIGURE_ARGS+= --with-gtk |
33 |
CONFIGURE_ARGS+= --with-gtk |
|
|
34 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
35 |
LDFLAGS="-L${LOCALBASE}/lib" |
35 |
|
36 |
|
36 |
PLIST_FILES= bin/${PORTNAME}${PKGNAMESUFFIX}-gtk |
37 |
PLIST_FILES= bin/${PORTNAME}${PKGNAMESUFFIX}-gtk |
37 |
|
38 |
|
Lines 43-75
Link Here
|
43 |
@${ECHO_CMD} |
44 |
@${ECHO_CMD} |
44 |
|
45 |
|
45 |
.include <bsd.port.pre.mk> |
46 |
.include <bsd.port.pre.mk> |
46 |
|
|
|
47 |
.if ${ARCH} != "amd64" && ${ARCH} != "i386" |
48 |
USE_REINPLACE= yes |
49 |
|
50 |
post-patch: |
51 |
# These architectures do not support "-minline-all-stringops" |
52 |
@${REINPLACE_CMD} -e 's|-minline-all-stringops||g' \ |
53 |
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} |
54 |
.if ${ARCH} == "alpha" |
55 |
# "-ffast-math" does not work on alpha |
56 |
@${REINPLACE_CMD} -e 's|-ffast-math||g' \ |
57 |
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} |
58 |
.endif |
59 |
.endif |
60 |
|
61 |
# Generator needs GCC 2.95.x or GCC >= 3.4.2 to work properly. |
62 |
# Generator-CBiere automatically determines the GCC version. |
63 |
|
64 |
.if ${OSVERSION} < 400012 |
65 |
# GCC < 2.95 is in the base system. |
66 |
USE_GCC= 2.95 |
67 |
.endif |
68 |
|
69 |
.if ${OSVERSION} >= 500035 && ${OSVERSION} < 502126 |
70 |
# GCC > 2.95 (3.X) && GCC < 3.4.2 is in the base system. |
71 |
USE_GCC= 3.4 |
72 |
.endif |
73 |
|
47 |
|
74 |
.if defined(WITHOUT_OPTIMIZED_CFLAGS) |
48 |
.if defined(WITHOUT_OPTIMIZED_CFLAGS) |
75 |
CONFIGURE_ARGS+= --without-gcc |
49 |
CONFIGURE_ARGS+= --without-gcc |