Lines 16-41
Link Here
|
16 |
|
16 |
|
17 |
GNU_CONFIGURE= yes |
17 |
GNU_CONFIGURE= yes |
18 |
USE_GNOME= gnometarget |
18 |
USE_GNOME= gnometarget |
19 |
CONFIGURE_ENV= CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
|
|
20 |
CONFIGURE_ARGS= -x-includes="${X11BASE}/include" -x-libraries="${X11BASE}/lib" |
21 |
USE_PERL5_BUILD= yes |
19 |
USE_PERL5_BUILD= yes |
|
|
20 |
USE_XORG= x11 xext sm ice |
22 |
|
21 |
|
23 |
MAN1= lavaps.1 |
22 |
MAN1= lavaps.1 |
24 |
|
23 |
|
25 |
TCL_VER?= 8.4 |
24 |
OPTIONS= GTK "Build with GTK frontend instead of the default TK" off |
26 |
|
25 |
|
27 |
CPPFLAGS+= -I${LOCALBASE}/include/tcl${TCL_VER} \ |
26 |
CPPFLAGS+= -I${LOCALBASE}/include |
28 |
-I${LOCALBASE}/include/tk${TCL_VER} \ |
27 |
CFLAGS+= -I${LOCALBASE}/include |
29 |
-I${LOCALBASE}/include |
|
|
30 |
CFLAGS+= -I${LOCALBASE}/include/tcl${TCL_VER} \ |
31 |
-I${LOCALBASE}/include/tk${TCL_VER} \ |
32 |
-I${LOCALBASE}/include |
33 |
LDFLAGS+= -L${LOCALBASE}/lib |
28 |
LDFLAGS+= -L${LOCALBASE}/lib |
34 |
|
29 |
|
35 |
OPTIONS= GTK "Build with GTK frontend instead of the default TK" off |
|
|
36 |
|
37 |
.include <bsd.port.pre.mk> |
30 |
.include <bsd.port.pre.mk> |
38 |
|
31 |
|
|
|
32 |
CONFIGURE_ARGS+= -x-includes="${X11BASE}/include" \ |
33 |
-x-libraries="${X11BASE}/lib" |
34 |
|
39 |
.if defined(WITH_GTK) |
35 |
.if defined(WITH_GTK) |
40 |
PKGNAMESUFFIX= -gtk2 |
36 |
PKGNAMESUFFIX= -gtk2 |
41 |
USE_GNOME+= gtk20 libgnomeui |
37 |
USE_GNOME+= gtk20 libgnomeui |
Lines 43-52
Link Here
|
43 |
CONFIGURE_ARGS+= --with-gtk |
39 |
CONFIGURE_ARGS+= --with-gtk |
44 |
PLIST_SUB+= NLS="" |
40 |
PLIST_SUB+= NLS="" |
45 |
.else |
41 |
.else |
46 |
LIB_DEPENDS+= tk${TCL_VER:S/.//}:${PORTSDIR}/x11-toolkits/tk${TCL_VER:S/.//} |
42 |
USE_TK= 84+ |
|
|
43 |
.include "${PORTSDIR}/Mk/bsd.tcl.mk" |
44 |
CPPFLAGS+= -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} |
45 |
CFLAGS+= -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} |
47 |
CONFIGURE_ARGS+= --with-tcltk --disable-nls \ |
46 |
CONFIGURE_ARGS+= --with-tcltk --disable-nls \ |
48 |
--with-tcl-ver=${TCL_VER} --with-tk-ver=${TCL_VER} |
47 |
--with-tcl-ver=${TCL_VER} --with-tk-ver=${TCL_VER} |
49 |
PLIST_SUB+= NLS="@comment " |
48 |
PLIST_SUB+= NLS="@comment " |
50 |
.endif |
49 |
.endif |
51 |
|
50 |
|
|
|
51 |
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
52 |
|
52 |
.include <bsd.port.post.mk> |
53 |
.include <bsd.port.post.mk> |