aboutsummaryrefslogtreecommitdiff
path: root/cad/mars
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-01-03 15:53:42 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-01-03 15:53:42 +0000
commit43b73e5cfaaa8d7a48d81772a31f46e9121f5faa (patch)
tree7ebb16ef28c161ae63aef766228c555d90ec2830 /cad/mars
parent38f392c2bf099a7cc2a6e6bd299aad94caef7a0b (diff)
downloadports-43b73e5cfaaa8d7a48d81772a31f46e9121f5faa.tar.gz
ports-43b73e5cfaaa8d7a48d81772a31f46e9121f5faa.zip
Notes
Diffstat (limited to 'cad/mars')
-rw-r--r--cad/mars/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/cad/mars/Makefile b/cad/mars/Makefile
index 913cef80bff0..4e80208e95f9 100644
--- a/cad/mars/Makefile
+++ b/cad/mars/Makefile
@@ -7,9 +7,6 @@ PORTREVISION= 3
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= gahr@FreeBSD.org
@@ -18,6 +15,8 @@ COMMENT= Maryland Routing Simulator
OPTIONS_DEFINE= X11
OPTIONS_DEFAULT=X11
+DOCS_DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MaRS-2-doc${EXTRACT_SUFX}
+
MAKE_JOBS_UNSAFE= yes
NO_WRKSUBDIR= yes
@@ -45,7 +44,7 @@ post-configure:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mars ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/man1/mars.1 ${PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${PREFIX}/share/doc/mars
@${CHMOD} a+rx ${PREFIX}/share/doc/mars
@(cd ${PREFIX}/share/doc ; \