1996-11-25 01:07:59 +00:00
|
|
|
# ex:ts=8
|
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}
|
1996-11-26 06:47:09 +00:00
|
|
|
.if defined(HAVE_MOTIF) && !defined(PACKAGE_BUILDING)
|
1996-11-25 01:26:24 +00:00
|
|
|
MAKEFILE= Makefile.XMotif
|
2000-04-17 00:18:05 +00:00
|
|
|
.elif defined(WITHOUT_X11)
|
1996-11-25 01:07:59 +00:00
|
|
|
MAKEFILE= Makefile.NoX
|
|
|
|
.else
|
1998-11-28 00:44:34 +00:00
|
|
|
USE_XLIB= yes
|
1996-11-25 01:07:59 +00:00
|
|
|
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 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>
|