Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2014 00:00:06 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339190 - head/cad/atlc
Message-ID:  <201401090000.s09006L1031346@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Jan  9 00:00:05 2014
New Revision: 339190
URL: http://svnweb.freebsd.org/changeset/ports/339190

Log:
  Support stage
  General cleanup

Modified:
  head/cad/atlc/Makefile

Modified: head/cad/atlc/Makefile
==============================================================================
--- head/cad/atlc/Makefile	Wed Jan  8 23:43:45 2014	(r339189)
+++ head/cad/atlc/Makefile	Thu Jan  9 00:00:05 2014	(r339190)
@@ -7,68 +7,20 @@ CATEGORIES=	cad
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A tool to calculate the impedance of transmission lines
+COMMENT=	Tool to calculate the impedance of transmission lines
 
 LICENSE=	GPLv2 # (or later)
-LICENSE_FILE=	${WRKSRC}/COPYING
+
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
 
-MAN1=		atlc.1 coax.1 create_bmp_for_circ_in_circ.1 \
-		create_bmp_for_circ_in_rect.1 \
-		create_bmp_for_microstrip_coupler.1 \
-		create_bmp_for_rect_cen_in_rect.1 \
-		create_bmp_for_rect_cen_in_rect_coupler.1 \
-		create_bmp_for_rect_in_circ.1 \
-		create_bmp_for_rect_in_rect.1 \
-		create_bmp_for_stripline_coupler.1 \
-		create_bmp_for_symmetrical_stripline.1 \
-		design_coupler.1 dualcoax.1 \
-		find_optimal_dimensions_for_microstrip_coupler.1 \
-		readbin.1 sysdata.1
 PORTDOCS=	*
-PORTEXAMPLES=	*
-PLIST_FILES=	bin/atlc bin/coax bin/create_any_bitmap \
-		bin/create_bmp_for_circ_in_circ \
-		bin/create_bmp_for_circ_in_rect \
-		bin/create_bmp_for_microstrip_coupler \
-		bin/create_bmp_for_rect_cen_in_rect \
-		bin/create_bmp_for_rect_cen_in_rect_coupler \
-		bin/create_bmp_for_rect_in_circ \
-		bin/create_bmp_for_rect_in_rect \
-		bin/create_bmp_for_stripline_coupler \
-		bin/create_bmp_for_symmetrical_stripline \
-		bin/design_coupler bin/dualcoax \
-		bin/find_optimal_dimensions_for_microstrip_coupler \
-		bin/locatediff bin/myfilelength bin/mymd5sum bin/readbin
-
-NO_STAGE=	yes
-
-.include <bsd.port.options.mk>
-
-post-patch:
-.for file in Makefile.in
-	@${REINPLACE_CMD} -e \
-		'/^SUBDIRS/s|docs examples||' ${WRKSRC}/${file}
-.endfor
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	@(${TAR} -C ${WRKSRC}/docs --exclude "*Makefile*" -cf - . | \
-		${TAR} -C ${DOCSDIR} --unlink -xf -)
-	@${FIND} ${DOCSDIR} -type d | ${XARGS} ${CHMOD} a+rx
-	@${FIND} ${DOCSDIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
-	@${FIND} ${DOCDIR} | ${XARGS} ${CHOWN} ${SHHAREOWN}:${SHAREGRP}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	@(${TAR} -C ${WRKSRC}/examples --exclude "*Makefile*" -cf - . | \
-		${TAR} -C ${EXAMPLESDIR} --unlink -xf -)
-	@${FIND} ${DOCSDIR} -type d | ${XARGS} ${CHMOD} a+rx
-	@${FIND} ${DOCSDIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
-	@${FIND} ${DOCDIR} | ${XARGS} ${CHOWN} ${SHHAREOWN}:${SHAREGRP}
-.endif
+
+MAKE_ARGS=	examplesdir=${EXAMPLESDIR} \
+		htmldir=${DOCSDIR}/html-docs \
+		jpgdir=${DOCSDIR}/html-docs/jpgs \
+		qexdir=${DOCSDIR}/qex-december-1996 \
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401090000.s09006L1031346>