diff options
Diffstat (limited to 'devel/swarm/Makefile')
-rw-r--r-- | devel/swarm/Makefile | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/devel/swarm/Makefile b/devel/swarm/Makefile index 29675cf1f734..38c808007544 100644 --- a/devel/swarm/Makefile +++ b/devel/swarm/Makefile @@ -7,60 +7,60 @@ PORTNAME= swarm PORTVERSION= 2.1.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MASTER_SITES= ftp://ftp.santafe.edu/pub/swarm/src/swarm/ -MAINTAINER= horance@freedom.ie.cycu.edu.tw +MAINTAINER= horance@freera.net COMMENT= The Swarm Simulation System BUILD_DEPENDS= emacs:${PORTSDIR}/editors/emacs21 -LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ - BLT24.3:${PORTSDIR}/x11-toolkits/blt .if defined(WITH_HDF5) LIB_DEPENDS+= hdf5.0:${PORTSDIR}/graphics/hdf5 -BROKEN= undefined references in hdf5, please deinstall hdf5 package \ - before continue .endif +LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ + BLT24.3:${PORTSDIR}/x11-toolkits/blt -BROKEN= "Does not configure; will be removed after Feb 2" +ONLY_FOR_ARCH= i386 -.if defined(WITH_JAVA) USE_JAVA= 1.3+ -.endif USE_GMAKE= yes USE_XPM= yes USE_LIBTOOL= yes USE_REINPLACE= yes INSTALLS_SHLIB= yes +TK_VER?= 8.4 CONFIGURE_ARGS= --with-defaultdir=${PREFIX} \ - --with-tclincludedir=${PREFIX}/include/tcl8.4 \ - --with-tkincludedir=${PREFIX}/include/tk8.4 \ - --with-tclscriptdir=${PREFIX}/lib/tcl8.4 \ - --with-tkscriptdir=${PREFIX}/lib/tk8.4 \ + --with-tclincludedir=${PREFIX}/include/tcl${TK_VER} \ + --with-tkincludedir=${PREFIX}/include/tk${TK_VER} \ + --with-tclscriptdir=${PREFIX}/lib/tcl${TK_VER} \ + --with-tkscriptdir=${PREFIX}/lib/tk${TK_VER} \ + --with-jdkdir=${JAVA_HOME} \ --enable-subdirs -PLIST_SUB= JAVA="@comment " -.if defined(WITH_JAVA) -CONFIGURE_ARGS+= --with-jdkdir=${JAVA_HOME} -PLIST_SUB= JAVA="" -.endif post-patch: @${REINPLACE_CMD} \ -e 's|%%LTCONFIG%%|${LIBTOOL_SHAREDIR}/ltconfig${LIBTOOL_VERSION}|g' \ -e 's|%%LTMAIN%%|${LIBTOOL_SHAREDIR}/ltmain.sh|g' \ ${WRKSRC}/configure + @${REINPLACE_CMD} \ + -e 's|%%LTCONFIG%%|${LIBTOOL_SHAREDIR}/ltconfig${LIBTOOL_VERSION}|g' \ + -e 's|%%LTMAIN%%|${LIBTOOL_SHAREDIR}/ltmain.sh|g' \ + ${WRKSRC}/libobjc/configure + @${REINPLACE_CMD} \ + -e 's|%%LTCONFIG%%|${LIBTOOL_SHAREDIR}/ltconfig${LIBTOOL_VERSION}|g' \ + -e 's|%%LTMAIN%%|${LIBTOOL_SHAREDIR}/ltmain.sh|g' \ + ${WRKSRC}/avcall/configure pre-everything:: -.if !defined(WITH_JAVA) +.if !defined(WITH_HDF5) @${ECHO_MSG} "===>" - @${ECHO_MSG} "===> To enable java support , please define WITH_JAVA" + @${ECHO_MSG} "===> To enable hdf5 support , please define WITH_HDF5" @${ECHO_MSG} "===>" .endif post-patch: - post-install: ${CAT} ${PKGMESSAGE} | ${SED} -e "s:%%PREFIX%%:${PREFIX}:g" |