1996-11-24 20:07:59 -05:00
|
|
|
# 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)
|
|
|
|
#
|
1997-10-10 02:53:48 -04:00
|
|
|
# $Id: Makefile,v 1.5 1997/02/04 11:32:02 obrien Exp $
|
1996-11-24 20:07:59 -05:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= MaRS-2.1
|
1996-11-26 01:47:09 -05:00
|
|
|
PKGNAME= mars-2.1
|
1996-11-24 20:07:59 -05:00
|
|
|
CATEGORIES= cad
|
1996-11-26 01:47:09 -05:00
|
|
|
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
|
1996-11-24 20:07:59 -05:00
|
|
|
|
1997-10-10 02:53:48 -04:00
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
1996-11-24 20:07:59 -05:00
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
1997-02-04 06:32:02 -05:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}.tar.gz
|
1996-11-26 01:47:09 -05:00
|
|
|
.if defined(HAVE_MOTIF) && !defined(PACKAGE_BUILDING)
|
1996-11-24 20:26:24 -05:00
|
|
|
MAKEFILE= Makefile.XMotif
|
|
|
|
.elif defined(WITH_X) && (${WITH_X} == NO || ${WITH_X} == no)
|
1996-11-24 20:07:59 -05:00
|
|
|
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
|
|
|
|
.if !defined(NOPORTDOCS)
|
1996-11-26 01:47:09 -05:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/mars
|
|
|
|
@chmod a+rx ${PREFIX}/share/doc/mars
|
1996-11-24 20:07:59 -05:00
|
|
|
@(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>
|