aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cad/mars/Makefile19
-rw-r--r--cad/mars/distinfo1
2 files changed, 11 insertions, 9 deletions
diff --git a/cad/mars/Makefile b/cad/mars/Makefile
index 03130a16cf19..2386815cd7f1 100644
--- a/cad/mars/Makefile
+++ b/cad/mars/Makefile
@@ -4,18 +4,22 @@
# Date created: Mon Nov 18, 1996
# Whom: David O'Brien (obrien@cs.ucdavis.edu)
#
-# $Id: Makefile,v 1.1.1.1 1996/11/25 01:07:50 obrien Exp $
+# $Id: Makefile,v 1.2 1996/11/25 01:26:24 obrien Exp $
#
DISTNAME= MaRS-2.1
+PKGNAME= mars-2.1
CATEGORIES= cad
-DISTSITE= ftp://ftp.cs.umd.edu/pub/sdag/MaRS/
-MASTER_SITES= ${DISTSITE}
+MASTER_SITES= ftp://ftp.cs.umd.edu/pub/sdag/MaRS/
+.if !defined(NOPORTDOCS)
+DISTFILES= MaRS-2.1.tar.gz MaRS-2-doc.tar.gz
+.endif
MAINTAINER= obrien@cs.ucdavis.edu
NO_WRKSUBDIR= yes
-.if defined(HAVE_MOTIF) && defined(FORCE_MOTIF)
+EXTRCT_ONLY= ${DISTNAME}.tar.gz
+.if defined(HAVE_MOTIF) && !defined(PACKAGE_BUILDING)
MAKEFILE= Makefile.XMotif
.elif defined(WITH_X) && (${WITH_X} == NO || ${WITH_X} == no)
MAKEFILE= Makefile.NoX
@@ -31,11 +35,8 @@ do-install:
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
+ @${MKDIR} ${PREFIX}/share/doc/mars
+ @chmod a+rx ${PREFIX}/share/doc/mars
@(cd ${PREFIX}/share/doc ; \
${EXTRACT_CMD} xfpz /${DISTDIR}/MaRS-2-doc.tar.gz ; \
[ -d mars ] && ${RM} -rf mars; \
diff --git a/cad/mars/distinfo b/cad/mars/distinfo
index 6f7e15c7e2f1..b0cd11ea564d 100644
--- a/cad/mars/distinfo
+++ b/cad/mars/distinfo
@@ -1 +1,2 @@
MD5 (MaRS-2.1.tar.gz) = 31188840e6b417ced015eb80c9f71030
+MD5 (MaRS-2-doc.tar.gz) = f9bb1e7167d9c74ff74b4481505e6bd5