1998-12-12 22:17:48 +00:00
|
|
|
# Ports collection makefile for: spin
|
|
|
|
# Date created: Oct 23, 1997
|
|
|
|
# Whom: jhanna@home.com
|
|
|
|
#
|
1999-08-25 07:23:21 +00:00
|
|
|
# $FreeBSD$
|
1998-12-12 22:17:48 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 07:20:58 +00:00
|
|
|
PORTNAME= spin
|
|
|
|
PORTVERSION= 3.39
|
1998-12-12 22:17:48 +00:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= ftp://netlib.bell-labs.com/netlib/spin/ \
|
|
|
|
ftp://www.netlib.org/spin/ \
|
2000-05-14 05:40:52 +00:00
|
|
|
ftp://ftp.freesoftware.com/pub/netlib/spin/
|
2000-02-09 13:49:07 +00:00
|
|
|
DISTFILES= spin339.tar.gz html.tar.gz
|
1998-12-12 22:17:48 +00:00
|
|
|
|
|
|
|
MAINTAINER= jhanna@home.com
|
|
|
|
|
|
|
|
DIST_SUBDIR= spin
|
1999-06-25 03:51:43 +00:00
|
|
|
WRKSRC= ${WRKDIR}/Src3.3
|
1998-12-12 22:17:48 +00:00
|
|
|
MAKEFILE= makefile
|
|
|
|
ALL_TARGET= spin
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@cd ${WRKDIR}/Test && ${SH} ${WRKDIR}/Test/examples
|
|
|
|
|
|
|
|
pre-build:
|
|
|
|
cd ${WRKSRC} && ${MAKE} clean
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/spin ${PREFIX}/bin
|
2000-01-26 02:06:39 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/Xspin3.3/xspin338.tcl ${PREFIX}/bin
|
1998-12-12 22:17:48 +00:00
|
|
|
${RM} -f ${PREFIX}/bin/xspin
|
2000-01-26 02:06:39 +00:00
|
|
|
${LN} -s ${PREFIX}/bin/xspin338.tcl ${PREFIX}/bin/xspin
|
1998-12-12 22:17:48 +00:00
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/spin/Doc
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/spin/Examples
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/spin/HTML
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/spin/Test
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/Doc/* ${PREFIX}/share/doc/spin/Doc
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/Test/ex.* ${PREFIX}/share/doc/spin/Examples
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/HTML/* ${PREFIX}/share/doc/spin/HTML
|
1999-02-12 02:48:58 +00:00
|
|
|
.for i in README.tests abp erathostenes hello leader leader.ltl leader2 \
|
1999-06-25 03:51:43 +00:00
|
|
|
loops pathfinder peterson petersonN pftp priorities snoopy sort
|
1998-12-12 22:17:48 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/Test/$i ${PREFIX}/share/doc/spin/Test
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|