Lines 2-8
Link Here
|
2 |
# $FreeBSD: head/science/silo/Makefile 327767 2013-09-20 22:48:30Z bapt $ |
2 |
# $FreeBSD: head/science/silo/Makefile 327767 2013-09-20 22:48:30Z bapt $ |
3 |
|
3 |
|
4 |
PORTNAME= silo |
4 |
PORTNAME= silo |
5 |
PORTVERSION= 4.9 |
5 |
PORTVERSION= 4.9.1 |
6 |
DISTVERSIONSUFFIX= -bsd |
6 |
DISTVERSIONSUFFIX= -bsd |
7 |
CATEGORIES= science |
7 |
CATEGORIES= science |
8 |
MASTER_SITES= https://wci.llnl.gov/codes/${PORTNAME}/silo-${PORTVERSION}/ |
8 |
MASTER_SITES= https://wci.llnl.gov/codes/${PORTNAME}/silo-${PORTVERSION}/ |
Lines 20-32
Link Here
|
20 |
|
20 |
|
21 |
NO_LATEST_LINK= yes |
21 |
NO_LATEST_LINK= yes |
22 |
|
22 |
|
23 |
USES= readline |
23 |
USES= gmake readline |
24 |
USE_GMAKE= yes |
|
|
25 |
GNU_CONFIGURE= yes |
24 |
GNU_CONFIGURE= yes |
26 |
CONFIGURE_ARGS= --enable-shared --disable-static |
25 |
CONFIGURE_ARGS= --enable-shared --disable-static |
27 |
USE_LDCONFIG= yes |
26 |
USE_LDCONFIG= yes |
28 |
|
27 |
|
29 |
NO_STAGE= yes |
|
|
30 |
.include <bsd.port.options.mk> |
28 |
.include <bsd.port.options.mk> |
31 |
|
29 |
|
32 |
.if ${PORT_OPTIONS:MFORTRAN} |
30 |
.if ${PORT_OPTIONS:MFORTRAN} |
Lines 36-46
Link Here
|
36 |
.endif |
34 |
.endif |
37 |
|
35 |
|
38 |
.if ${PORT_OPTIONS:MHDF5} |
36 |
.if ${PORT_OPTIONS:MHDF5} |
39 |
LIB_DEPENDS+= hdf5:${PORTSDIR}/science/hdf5 |
37 |
LIB_DEPENDS+= libhdf5.so:${PORTSDIR}/science/hdf5 |
40 |
CONFIGURE_ARGS+= --with-hdf5=${LOCALBASE}/include,${LOCALBASE}/lib |
38 |
CONFIGURE_ARGS+= --with-hdf5=${LOCALBASE}/include,${LOCALBASE}/lib |
41 |
PLIST_SUB+= HDF5="" NOHDF5="@comment " |
39 |
PLIST_SUB+= SUFX_HDF5="h5" |
42 |
.else |
40 |
.else |
43 |
PLIST_SUB+= HDF5="@comment " NOHDF5="" |
41 |
PLIST_SUB+= SUFX_HDF5="" |
44 |
.endif |
42 |
.endif |
45 |
|
43 |
|
46 |
.if ${PORT_OPTIONS:MPYTHON} |
44 |
.if ${PORT_OPTIONS:MPYTHON} |
Lines 53-61
Link Here
|
53 |
|
51 |
|
54 |
.if ${PORT_OPTIONS:MQT4} |
52 |
.if ${PORT_OPTIONS:MQT4} |
55 |
USE_XORG= xext xi xmu xt |
53 |
USE_XORG= xext xi xmu xt |
56 |
USE_QT4= qt3support linguist_build moc_build uic_build |
54 |
USE_QT4= gui linguist_build moc_build uic_build |
57 |
QT_NONSTANDARD= yes |
55 |
QT_NONSTANDARD= yes |
58 |
CONFIGURE_ARGS+= --with-Qt-dir=${QT_PREFIX} |
56 |
CONFIGURE_ARGS+= --with-Qt-dir=${QT_PREFIX} |
|
|
57 |
CONFIGURE_ARGS+= --with-Qt-lib="QtGui -lQtCore" |
59 |
PLIST_SUB+= QT4="" |
58 |
PLIST_SUB+= QT4="" |
60 |
DESKTOP_ENTRIES="Silex" "Silex browser for Silo files" "" "silex" "" true |
59 |
DESKTOP_ENTRIES="Silex" "Silex browser for Silo files" "" "silex" "" true |
61 |
.else |
60 |
.else |
Lines 86-92
Link Here
|
86 |
|
85 |
|
87 |
.if defined(MAINTAINER_MODE) |
86 |
.if defined(MAINTAINER_MODE) |
88 |
regression-test: build |
87 |
regression-test: build |
89 |
@cd ${WRKSRC}/tests && ${SETENV} ${MAKE_ENV} ${GMAKE} check |
88 |
@cd ${WRKSRC}/tests && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check |
90 |
.endif |
89 |
.endif |
91 |
|
90 |
|
92 |
.include <bsd.port.mk> |
91 |
.include <bsd.port.mk> |