summaryrefslogtreecommitdiffstats
path: root/cad/mars/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1996-11-25 01:07:59 +0000
committerobrien <obrien@FreeBSD.org>1996-11-25 01:07:59 +0000
commit563acb9db36c5adb12c7b5b46726ce1107fcb01b (patch)
tree029028a803d95e59148226b44fff30f09759e0f4 /cad/mars/Makefile
parentf18f779434d152cc2a78dc8f53cc07c1516b03c6 (diff)
downloadFreeBSD-ports-563acb9db36c5adb12c7b5b46726ce1107fcb01b.zip
FreeBSD-ports-563acb9db36c5adb12c7b5b46726ce1107fcb01b.tar.gz
The Maryland Routing Simulator (MaRS) is a discrete-event simulator
providing a flexible platform for the evaluation and comparison of network routing algorithms.
Diffstat (limited to 'cad/mars/Makefile')
-rw-r--r--cad/mars/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/cad/mars/Makefile b/cad/mars/Makefile
new file mode 100644
index 0000000..84ffcfa
--- /dev/null
+++ b/cad/mars/Makefile
@@ -0,0 +1,43 @@
+# ex:ts=8
+# New ports collection makefile for: MaRS
+# Version required: 2.1
+# Date created: Mon Nov 18, 1996
+# Whom: David O'Brien (obrien@cs.ucdavis.edu)
+#
+# $Id: Makefile,v 1.1.1.1 1996/08/09 04:17:16 asami Exp $
+#
+
+DISTNAME= MaRS-2.1
+CATEGORIES= cad
+DISTSITE= ftp://ftp.cs.umd.edu/pub/sdag/MaRS/
+MASTER_SITES= ${DISTSITE}
+
+MAINTAINER= obrien@cs.ucdavis.edu
+
+NO_WRKSUBDIR= yes
+.if defined(WITH_X) && (${WITH_X} == NO || ${WITH_X} == no)
+MAKEFILE= Makefile.NoX
+.else
+MAKEFILE= Makefile.SimpleX
+.endif
+ALL_TARGET= depend mars
+MAN1= mars.1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/mars ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/man/man1/mars.1 ${PREFIX}/man/man1
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/mars \
+ && chmod a+rx ${PREFIX}/share/doc/mars
+ @[ -f ${DISTDIR}/MaRS-2-doc.tar.gz ] || \
+ ${FETCH_CMD} -o /${DISTDIR}/MaRS-2-doc.tar.gz \
+ ${DISTSITE}MaRS-2-doc.tar.gz
+ @(cd ${PREFIX}/share/doc ; \
+ ${EXTRACT_CMD} xfpz /${DISTDIR}/MaRS-2-doc.tar.gz ; \
+ [ -d mars ] && ${RM} -rf mars; \
+ /bin/mv doc mars )
+.endif
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud