Lines 19-46
Link Here
|
19 |
|
19 |
|
20 |
USE_WX= 2.6 |
20 |
USE_WX= 2.6 |
21 |
WX_COMPS= wx contrib |
21 |
WX_COMPS= wx contrib |
|
|
22 |
WX_CONF_ARGS= absolute |
23 |
WX_PREMK= yes |
22 |
WX_UNICODE= yes |
24 |
WX_UNICODE= yes |
23 |
|
25 |
|
24 |
GNU_CONFIGURE= yes |
|
|
25 |
USE_X_PREFIX= yes |
26 |
USE_X_PREFIX= yes |
26 |
|
27 |
GNU_CONFIGURE= yes |
27 |
WX_CONFIG= ${X11BASE}/bin/wxgtk2u-2.6-config |
28 |
CONFIGURE_TARGET=--build=${ARCH}-portbld-freebsd${OSREL} |
28 |
|
29 |
|
29 |
SUB_FILES= pkg-message |
30 |
SUB_FILES= pkg-message |
30 |
MAN1= flamerobin.1 |
31 |
MAN1= flamerobin.1 |
31 |
|
32 |
|
32 |
.if exists(${WX_CONFIG}) |
|
|
33 |
WX_VERSION!= ${WX_CONFIG} --release |
34 |
PLIST_SUB+= WX_VERSION=${WX_VERSION} |
35 |
.endif |
36 |
|
37 |
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
38 |
CONFIGURE_ARGS= --with-wx-config=${WX_CONFIG} |
39 |
|
40 |
.include <bsd.port.pre.mk> |
33 |
.include <bsd.port.pre.mk> |
41 |
|
34 |
|
42 |
.if ${OSVERSION} < 500000 |
35 |
.if exists(${WX_CONFIG}) |
43 |
BROKEN= Does not compile on FreeBSD 4.x |
36 |
WX_VER_STR!= ${WX_CONFIG} --release |
|
|
37 |
PLIST_SUB+= WX_VERSION=${WX_VER_STR} |
44 |
.endif |
38 |
.endif |
45 |
|
39 |
|
46 |
post-install: |
40 |
post-install: |