aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1996-11-26 06:47:09 +0000
committerSatoshi Asami <asami@FreeBSD.org>1996-11-26 06:47:09 +0000
commit55bc3744290ab67b959ffb735dc09448dbf7f8d8 (patch)
tree825d0b8e6e96af350b9efe187b081e2aee8441e9 /cad
parentb950dabdd10ad754aa398467a829fc890a24950e (diff)
downloadports-55bc3744290ab67b959ffb735dc09448dbf7f8d8.tar.gz
ports-55bc3744290ab67b959ffb735dc09448dbf7f8d8.zip
Misc. cleanup. In particular, don't fetch the docfile in the
install target.
Notes
Notes: svn path=/head/; revision=4666
Diffstat (limited to 'cad')
-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