Lines 7-39
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= pure-gtk |
8 |
PORTNAME= pure-gtk |
9 |
PORTVERSION= 0.10 |
9 |
PORTVERSION= 0.10 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= x11-toolkits |
11 |
CATEGORIES= x11-toolkits |
11 |
MASTER_SITES= http://pure-lang.googlecode.com/files/ |
|
|
12 |
|
12 |
|
13 |
MAINTAINER= lichray@gmail.com |
13 |
MAINTAINER= lichray@gmail.com |
14 |
COMMENT= A set of Pure language bindings for GTK+ |
14 |
COMMENT= A set of Pure language bindings for GTK+ |
15 |
|
15 |
|
16 |
LIB_DEPENDS+= pure.7:${PORTSDIR}/lang/pure \ |
16 |
LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo |
17 |
cairo.2:${PORTSDIR}/graphics/cairo |
|
|
18 |
RUN_DEPENDS+= ${LOCALBASE}/lib/pure/ffi.pure:${PORTSDIR}/devel/pure-ffi |
19 |
|
17 |
|
20 |
LICENSE_FILE= ${WRKSRC}/COPYING |
18 |
USE_PURE= ffi |
21 |
|
|
|
22 |
USE_GCC= 4.2+ |
23 |
USE_GMAKE= yes |
24 |
USE_GNOME= glib20 gtk20 atk pango |
19 |
USE_GNOME= glib20 gtk20 atk pango |
25 |
|
20 |
|
26 |
MAKE_ARGS+= prefix=${PREFIX} CPPFLAGS+=-I${LOCALBASE}/include \ |
21 |
.include <bsd.port.mk> |
27 |
LDFLAGS+=-L${LOCALBASE}/lib CFLAGS="${CFLAGS}" |
|
|
28 |
|
29 |
PORTEXAMPLES= * |
30 |
|
31 |
.include <bsd.port.pre.mk> |
32 |
|
33 |
post-install: |
34 |
.if !defined(NOPORTEXAMPLES) |
35 |
@${MKDIR} ${EXAMPLESDIR} |
36 |
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) |
37 |
.endif |
38 |
|
39 |
.include <bsd.port.post.mk> |