Lines 15-23
Link Here
|
15 |
COMMENT= The Swarm Simulation System |
15 |
COMMENT= The Swarm Simulation System |
16 |
|
16 |
|
17 |
BUILD_DEPENDS= emacs:${PORTSDIR}/editors/emacs |
17 |
BUILD_DEPENDS= emacs:${PORTSDIR}/editors/emacs |
18 |
.if defined(WITH_HDF5) |
|
|
19 |
LIB_DEPENDS+= hdf5.0:${PORTSDIR}/science/hdf5 |
20 |
.endif |
21 |
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ |
18 |
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ |
22 |
BLT24.3:${PORTSDIR}/x11-toolkits/blt |
19 |
BLT24.3:${PORTSDIR}/x11-toolkits/blt |
23 |
|
20 |
|
Lines 38-43
Link Here
|
38 |
--with-jdkdir=${JAVA_HOME} \ |
35 |
--with-jdkdir=${JAVA_HOME} \ |
39 |
--enable-subdirs |
36 |
--enable-subdirs |
40 |
|
37 |
|
|
|
38 |
OPTIONS= HDF5 "hdf5 support" off |
39 |
|
40 |
.include <bsd.port.pre.mk> |
41 |
|
42 |
.if defined(WITH_HDF5) |
43 |
LIB_DEPENDS+= hdf5.0:${PORTSDIR}/science/hdf5 |
44 |
.endif |
45 |
|
41 |
post-patch: |
46 |
post-patch: |
42 |
@${REINPLACE_CMD} \ |
47 |
@${REINPLACE_CMD} \ |
43 |
-e 's|%%LTCONFIG%%|${LTCONFIG}|g' \ |
48 |
-e 's|%%LTCONFIG%%|${LTCONFIG}|g' \ |
Lines 52-67
Link Here
|
52 |
-e 's|%%LTMAIN%%|${LIBTOOL_SHAREDIR}/ltmain.sh|g' \ |
57 |
-e 's|%%LTMAIN%%|${LIBTOOL_SHAREDIR}/ltmain.sh|g' \ |
53 |
${WRKSRC}/avcall/configure |
58 |
${WRKSRC}/avcall/configure |
54 |
|
59 |
|
55 |
pre-everything:: |
|
|
56 |
.if !defined(WITH_HDF5) |
57 |
@${ECHO_MSG} "===>" |
58 |
@${ECHO_MSG} "===> To enable hdf5 support , please define WITH_HDF5" |
59 |
@${ECHO_MSG} "===>" |
60 |
.endif |
61 |
|
62 |
post-patch: |
63 |
|
64 |
post-install: |
60 |
post-install: |
65 |
${CAT} ${PKGMESSAGE} | ${SED} -e "s:%%PREFIX%%:${PREFIX}:g" |
61 |
${CAT} ${PKGMESSAGE} | ${SED} -e "s:%%PREFIX%%:${PREFIX}:g" |
66 |
|
62 |
|
67 |
.include <bsd.port.mk> |
63 |
.include <bsd.port.post.mk> |