1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/cad/mars/Makefile

46 lines
1.1 KiB
Makefile
Raw Normal View History

# 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)
#
1999-08-25 04:58:03 +00:00
# $FreeBSD$
#
PORTNAME= mars
PORTVERSION= 2.1
CATEGORIES= cad
MASTER_SITES= ftp://ftp.cs.umd.edu/pub/sdag/MaRS/
DISTNAME= MaRS-${PORTVERSION}
.if !defined(NOPORTDOCS)
1999-10-27 08:12:45 +00:00
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MaRS-2-doc${EXTRACT_SUFX}
.endif
2000-02-13 03:25:05 +00:00
MAINTAINER= obrien@FreeBSD.org
NO_WRKSUBDIR= yes
1999-10-27 08:12:45 +00:00
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
.if defined(HAVE_MOTIF) && !defined(PACKAGE_BUILDING)
1996-11-25 01:26:24 +00:00
MAKEFILE= Makefile.XMotif
.elif defined(WITHOUT_X11)
MAKEFILE= Makefile.NoX
.else
USE_XLIB= yes
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)
@${MKDIR} ${PREFIX}/share/doc/mars
1999-08-22 19:01:07 +00:00
@${CHMOD} a+rx ${PREFIX}/share/doc/mars
@(cd ${PREFIX}/share/doc ; \
1999-10-27 08:12:45 +00:00
${TAR} xfpz /${DISTDIR}/MaRS-2-doc${EXTRACT_SUFX} ; \
[ -d mars ] && ${RM} -rf mars; \
${MV} doc mars )
.endif
.include <bsd.port.mk>