2000-02-13 03:25:05 +00:00
|
|
|
# Ports collection makefile for: MaRS
|
|
|
|
# Date created: Mon Nov 18, 1996
|
|
|
|
# Whom: David O'Brien (obrien@cs.ucdavis.edu)
|
1996-11-25 01:07:59 +00:00
|
|
|
#
|
1999-08-25 04:58:03 +00:00
|
|
|
# $FreeBSD$
|
1996-11-25 01:07:59 +00:00
|
|
|
#
|
|
|
|
|
2000-04-08 23:24:42 +00:00
|
|
|
PORTNAME= mars
|
|
|
|
PORTVERSION= 2.1
|
1996-11-25 01:07:59 +00:00
|
|
|
CATEGORIES= cad
|
1996-11-26 06:47:09 +00:00
|
|
|
MASTER_SITES= ftp://ftp.cs.umd.edu/pub/sdag/MaRS/
|
2000-04-08 23:24:42 +00:00
|
|
|
DISTNAME= MaRS-${PORTVERSION}
|
1996-11-26 06:47:09 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
1999-10-27 08:12:45 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MaRS-2-doc${EXTRACT_SUFX}
|
1996-11-26 06:47:09 +00:00
|
|
|
.endif
|
1996-11-25 01:07:59 +00:00
|
|
|
|
2000-02-13 03:25:05 +00:00
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
1996-11-25 01:07:59 +00:00
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
1999-10-27 08:12:45 +00:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
2000-11-07 23:28:20 +00:00
|
|
|
.if defined(WITHOUT_X11)
|
1996-11-25 01:07:59 +00:00
|
|
|
MAKEFILE= Makefile.NoX
|
|
|
|
.else
|
2000-11-07 23:28:20 +00:00
|
|
|
USE_MOTIF= yes
|
2001-01-16 17:33:20 +00:00
|
|
|
MAKEFILE= Makefile.XMotif
|
1996-11-25 01:07:59 +00:00
|
|
|
.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 06:47:09 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/mars
|
1999-08-22 19:01:07 +00:00
|
|
|
@${CHMOD} a+rx ${PREFIX}/share/doc/mars
|
1996-11-25 01:07:59 +00:00
|
|
|
@(cd ${PREFIX}/share/doc ; \
|
1999-10-27 08:12:45 +00:00
|
|
|
${TAR} xfpz /${DISTDIR}/MaRS-2-doc${EXTRACT_SUFX} ; \
|
1996-11-25 01:07:59 +00:00
|
|
|
[ -d mars ] && ${RM} -rf mars; \
|
1999-08-28 02:42:41 +00:00
|
|
|
${MV} doc mars )
|
1996-11-25 01:07:59 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|