1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/cad/mars/Makefile
Oliver Lehmann 5977dc1bf2 fix build on CURRENT
bump PORTREVISION
2003-12-09 19:09:41 +00:00

48 lines
1.1 KiB
Makefile

# Ports collection makefile for: MaRS
# Date created: Mon Nov 18, 1996
# Whom: David O'Brien (obrien@cs.ucdavis.edu)
#
# $FreeBSD$
#
PORTNAME= mars
PORTVERSION= 2.1
PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= ftp://ftp.cs.umd.edu/pub/sdag/MaRS/
DISTNAME= MaRS-${PORTVERSION}
.if !defined(NOPORTDOCS)
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MaRS-2-doc${EXTRACT_SUFX}
.endif
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Maryland Routing Simulator
NO_WRKSUBDIR= yes
FETCH_ENV= "FTP_PASSIVE_MODE=no"
.if defined(WITHOUT_X11)
MAKEFILE= Makefile.NoX
.else
USE_MOTIF= yes
MAKEFILE= Makefile.XMotif
.endif
ALL_TARGET= depend mars
MAN1= mars.1
.include <bsd.port.pre.mk>
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
@${CHMOD} a+rx ${PREFIX}/share/doc/mars
@(cd ${PREFIX}/share/doc ; \
${TAR} xfpz /${DISTDIR}/MaRS-2-doc${EXTRACT_SUFX} ; \
[ -d mars ] && ${RM} -rf mars; \
${MV} doc mars )
.endif
.include <bsd.port.post.mk>