Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= plplot |
4 |
PORTNAME= plplot |
5 |
PORTVERSION= 5.11.1 |
5 |
PORTVERSION= 5.11.1 |
6 |
PORTREVISION= 1 |
6 |
PORTREVISION= 2 |
7 |
CATEGORIES= math science |
7 |
CATEGORIES= math science |
8 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20Source |
8 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20Source |
9 |
|
9 |
|
Lines 16-22
Link Here
|
16 |
${FREEFONT_DIR}/FreeMono.ttf:${PORTSDIR}/x11-fonts/freefont-ttf |
16 |
${FREEFONT_DIR}/FreeMono.ttf:${PORTSDIR}/x11-fonts/freefont-ttf |
17 |
LIB_DEPENDS= libLASi.so:${PORTSDIR}/devel/lasi \ |
17 |
LIB_DEPENDS= libLASi.so:${PORTSDIR}/devel/lasi \ |
18 |
libltdl.so:${PORTSDIR}/devel/libltdl \ |
18 |
libltdl.so:${PORTSDIR}/devel/libltdl \ |
19 |
libqhull.so:${PORTSDIR}/math/qhull5 \ |
|
|
20 |
libfreetype.so:${PORTSDIR}/print/freetype2 |
19 |
libfreetype.so:${PORTSDIR}/print/freetype2 |
21 |
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \ |
20 |
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \ |
22 |
${FREEFONT_DIR}/FreeMono.ttf:${PORTSDIR}/x11-fonts/freefont-ttf |
21 |
${FREEFONT_DIR}/FreeMono.ttf:${PORTSDIR}/x11-fonts/freefont-ttf |
Lines 23-29
Link Here
|
23 |
|
22 |
|
24 |
USE_GNOME= pango |
23 |
USE_GNOME= pango |
25 |
USE_PERL5= build |
24 |
USE_PERL5= build |
26 |
USES= cmake ghostscript gmake perl5 pkgconfig |
25 |
USES= cmake ghostscript gmake localbase perl5 pathfix pkgconfig |
27 |
CMAKE_ARGS= -DENABLE_java:BOOL=OFF \ |
26 |
CMAKE_ARGS= -DENABLE_java:BOOL=OFF \ |
28 |
-DENABLE_octave:BOOL=OFF \ |
27 |
-DENABLE_octave:BOOL=OFF \ |
29 |
-DENABLE_pdl:BOOL=OFF \ |
28 |
-DENABLE_pdl:BOOL=OFF \ |
Lines 32-37
Link Here
|
32 |
-DENABLE_ocaml:BOOL=OFF \ |
31 |
-DENABLE_ocaml:BOOL=OFF \ |
33 |
-DENABLE_pyqt4:BOOL=OFF \ |
32 |
-DENABLE_pyqt4:BOOL=OFF \ |
34 |
-DPL_FREETYPE_FONT_PATH:PATH="${FREEFONT_DIR}" \ |
33 |
-DPL_FREETYPE_FONT_PATH:PATH="${FREEFONT_DIR}" \ |
|
|
34 |
-DCMAKE_INSTALL_PKG_CONFIG_DIR:PATH="${PREFIX}/libdata/pkgconfig" \ |
35 |
-DPLD_plmeta:BOOL=OFF |
35 |
-DPLD_plmeta:BOOL=OFF |
36 |
CFLAGS+= -D_IS_BUILDING_PLPLOT_PORT_ |
36 |
CFLAGS+= -D_IS_BUILDING_PLPLOT_PORT_ |
37 |
USE_LDCONFIG= yes |
37 |
USE_LDCONFIG= yes |
Lines 39-45
Link Here
|
39 |
FREEFONT_DIR= ${LOCALBASE}/share/fonts/freefont-ttf |
39 |
FREEFONT_DIR= ${LOCALBASE}/share/fonts/freefont-ttf |
40 |
|
40 |
|
41 |
OPTIONS_DEFINE= FORTRAN GD LUA PYTHON QT4 TCLTK THREADS WXGTK X11 DOCS |
41 |
OPTIONS_DEFINE= FORTRAN GD LUA PYTHON QT4 TCLTK THREADS WXGTK X11 DOCS |
42 |
OPTIONS_DEFAULT=THREADS X11 |
42 |
OPTIONS_RADIO= QHULL |
|
|
43 |
OPTIONS_RADIO_QHULL= QHULL2012 QHULL2003 |
44 |
OPTIONS_DEFAULT= QHULL2012 THREADS X11 |
43 |
OPTIONS_SUB= yes |
45 |
OPTIONS_SUB= yes |
44 |
|
46 |
|
45 |
FORTRAN_USES= fortran |
47 |
FORTRAN_USES= fortran |
Lines 61-66
Link Here
|
61 |
PYTHON_CONFIGURE_ENV= PYTHON_VERSION="${PYTHON_VERSION}" |
63 |
PYTHON_CONFIGURE_ENV= PYTHON_VERSION="${PYTHON_VERSION}" |
62 |
PYTHON_CMAKE_OFF= -DENABLE_python:BOOL=OFF |
64 |
PYTHON_CMAKE_OFF= -DENABLE_python:BOOL=OFF |
63 |
|
65 |
|
|
|
66 |
QHULL2003_DESC= Legacy Qhull support |
67 |
QHULL2012_DESC= Latest Qhull support |
68 |
QHULL2012_LIB_DEPENDS= libqhull.so.6:${PORTSDIR}/math/qhull |
69 |
QHULL2003_LIB_DEPENDS= libqhull.so.5:${PORTSDIR}/math/qhull5 |
70 |
QHULL2012_CMAKE_ON= -DQHULL_INCLUDE_DIRS="${LOCALBASE}/include/libqhull" |
71 |
QHULL2012_2FIX= lib/nn/delaunay.c src/plgridd.c |
72 |
|
64 |
TCLTK_LIB_DEPENDS= libitk.so:${PORTSDIR}/x11-toolkits/itk |
73 |
TCLTK_LIB_DEPENDS= libitk.so:${PORTSDIR}/x11-toolkits/itk |
65 |
TCLTK_RUN_DEPENDS= iwidgets>0:${PORTSDIR}/x11-toolkits/iwidgets |
74 |
TCLTK_RUN_DEPENDS= iwidgets>0:${PORTSDIR}/x11-toolkits/iwidgets |
66 |
TCLTK_USES= tk |
75 |
TCLTK_USES= tk |
Lines 105-109
Link Here
|
105 |
${WRKSRC}/cmake/modules/FindLTDL.cmake |
114 |
${WRKSRC}/cmake/modules/FindLTDL.cmake |
106 |
${GREP} -lR "/usr/local" ${WRKSRC}/cmake/modules | ${XARGS} \ |
115 |
${GREP} -lR "/usr/local" ${WRKSRC}/cmake/modules | ${XARGS} \ |
107 |
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' |
116 |
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' |
|
|
117 |
.if ${PORT_OPTIONS:MQHULL2012} |
118 |
. for src in ${QHULL2012_2FIX} |
119 |
${REINPLACE_CMD} -e 's|qhull/qhull_a|libqhull/qhull_a|' \ |
120 |
${WRKSRC}/${src} |
121 |
. endfor |
122 |
.endif |
108 |
|
123 |
|
109 |
.include <bsd.port.mk> |
124 |
.include <bsd.port.mk> |