mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
b70e8b7e1d
broken at that time, and a fix has not been submitted to GNATS.
68 lines
1.6 KiB
Makefile
68 lines
1.6 KiB
Makefile
# New ports collection makefile for: swarm
|
|
# Date created: 26 June 1998
|
|
# Whom: Horance C.H Chou <horance@freedom.ie.cycu.edu.tw>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= swarm
|
|
PORTVERSION= 2.1.1
|
|
PORTREVISION= 4
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://ftp.santafe.edu/pub/swarm/src/swarm/
|
|
|
|
MAINTAINER= horance@freera.net
|
|
COMMENT= The Swarm Simulation System
|
|
|
|
BUILD_DEPENDS= emacs:${PORTSDIR}/editors/emacs
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
|
|
BLT24.3:${PORTSDIR}/x11-toolkits/blt
|
|
|
|
BROKEN= Does not compile
|
|
EXPIRATION_DATE=2005-02-18
|
|
DEPRECATED= ${BROKEN}
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
USE_JAVA= 1.3+
|
|
USE_GMAKE= yes
|
|
USE_XPM= yes
|
|
USE_LIBTOOL_VER= 13
|
|
USE_REINPLACE= yes
|
|
INSTALLS_SHLIB= yes
|
|
TK_VER?= 8.4
|
|
CONFIGURE_ARGS= --with-defaultdir=${PREFIX} \
|
|
--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
|
|
|
|
OPTIONS= HDF5 "HDF5 support" off
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_HDF5)
|
|
LIB_DEPENDS+= hdf5.0:${PORTSDIR}/science/hdf5
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} \
|
|
-e 's|%%LTCONFIG%%|${LTCONFIG}|g' \
|
|
-e 's|%%LTMAIN%%|${LIBTOOL_SHAREDIR}/ltmain.sh|g' \
|
|
${WRKSRC}/configure
|
|
@${REINPLACE_CMD} \
|
|
-e 's|%%LTCONFIG%%|${LTCONFIG}|g' \
|
|
-e 's|%%LTMAIN%%|${LIBTOOL_SHAREDIR}/ltmain.sh|g' \
|
|
${WRKSRC}/libobjc/configure
|
|
@${REINPLACE_CMD} \
|
|
-e 's|%%LTCONFIG%%|${LTCONFIG}|g' \
|
|
-e 's|%%LTMAIN%%|${LIBTOOL_SHAREDIR}/ltmain.sh|g' \
|
|
${WRKSRC}/avcall/configure
|
|
|
|
post-install:
|
|
${CAT} ${PKGMESSAGE} | ${SED} -e "s:%%PREFIX%%:${PREFIX}:g"
|
|
|
|
.include <bsd.port.post.mk>
|