From 43b73e5cfaaa8d7a48d81772a31f46e9121f5faa Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Fri, 3 Jan 2014 15:53:42 +0000 Subject: Convert cad to MDOCS and MEXAMPLES --- cad/mars/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'cad/mars') 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 ; \ -- cgit v1.2.3