Lines 7-32
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= graphthing |
9 |
PORTNAME= graphthing |
10 |
PORTVERSION= 0.9.5 |
10 |
PORTVERSION= 1.0 |
11 |
CATEGORIES= math |
11 |
CATEGORIES= math |
12 |
MASTER_SITES= http://graph.seul.org/ |
12 |
MASTER_SITES= http://graph.seul.org/ |
13 |
|
13 |
|
14 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= ports@FreeBSD.org |
15 |
COMMENT= A tool that allows you to create, manipulate and study graphs |
15 |
COMMENT= A tool that allows you to create, manipulate and study graphs |
16 |
|
16 |
|
17 |
LIB_DEPENDS= gtkmm.2:${PORTSDIR}/x11-toolkits/gtk-- |
17 |
LIB_DEPENDS= wx_gtk2_core-2.6.0:${PORTSDIR}/x11-toolkits/wxgtk26 |
18 |
|
18 |
|
19 |
USE_BZIP2= yes |
19 |
USE_BZIP2= yes |
20 |
USE_GNOME= gnometarget gtk12 |
20 |
USE_GNOME= gnometarget gtk20 |
21 |
USE_BISON= yes |
21 |
USE_BISON= yes |
22 |
USE_REINPLACE= yes |
22 |
USE_REINPLACE= yes |
23 |
USE_GMAKE= yes |
23 |
USE_GMAKE= yes |
24 |
GNU_CONFIGURE= yes |
24 |
GNU_CONFIGURE= yes |
|
|
25 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
26 |
CONFIGURE_ARGS= --with-wx-config=${X11BASE}/bin/wxgtk2-2.6-config |
25 |
|
27 |
|
26 |
PLIST_FILES= bin/graphthing bin/gt |
28 |
PLIST_FILES= bin/graphthing bin/gt |
27 |
|
29 |
|
28 |
post-patch: |
30 |
CPPFLAGS= ${PTHREAD_CFLAGS} |
29 |
${REINPLACE_CMD} -e "s,\/usr\/include\/gtk-1.2\/gdk\/gdkkeysyms.h,," \ |
31 |
LDFLAGS= ${PTHREAD_LIBS} |
30 |
${WRKSRC}/src/depend.1 |
32 |
|
|
|
33 |
do-install: |
34 |
${INSTALL_PROGRAM} ${WRKSRC}/src/graphthing ${PREFIX}/bin |
35 |
${LN} -sf graphthing ${PREFIX}/bin/gt |
31 |
|
36 |
|
32 |
.include <bsd.port.mk> |
37 |
.include <bsd.port.mk> |