diff options
author | asami <asami@FreeBSD.org> | 1996-11-26 14:47:09 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1996-11-26 14:47:09 +0800 |
commit | 730f7e3b0d3ea25537c336cf9559e9e6f50ff6c6 (patch) | |
tree | c39c72d8d5ca5ca3c1f1a77a11b53c71f5b88b7c /cad/mars | |
parent | 43ece212836c3abfa79d85bf81a580c72aabca22 (diff) | |
download | freebsd-ports-gnome-730f7e3b0d3ea25537c336cf9559e9e6f50ff6c6.tar.gz freebsd-ports-gnome-730f7e3b0d3ea25537c336cf9559e9e6f50ff6c6.tar.zst freebsd-ports-gnome-730f7e3b0d3ea25537c336cf9559e9e6f50ff6c6.zip |
Misc. cleanup. In particular, don't fetch the docfile in the
install target.
Diffstat (limited to 'cad/mars')
-rw-r--r-- | cad/mars/Makefile | 19 | ||||
-rw-r--r-- | cad/mars/distinfo | 1 |
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 |