aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-09 08:00:05 +0800
committerbapt <bapt@FreeBSD.org>2014-01-09 08:00:05 +0800
commit0f28a4007802a630aa31a816ee0fa21b20d2d4c6 (patch)
tree994242cad020fa129d7d4b6a9e6848041c3d7273 /cad
parent81cd7ca64b45856239f2636e7dedc75582f7b2d8 (diff)
downloadfreebsd-ports-gnome-0f28a4007802a630aa31a816ee0fa21b20d2d4c6.tar.gz
freebsd-ports-gnome-0f28a4007802a630aa31a816ee0fa21b20d2d4c6.tar.zst
freebsd-ports-gnome-0f28a4007802a630aa31a816ee0fa21b20d2d4c6.zip
Support stage
General cleanup
Diffstat (limited to 'cad')
-rw-r--r--cad/atlc/Makefile62
1 files changed, 7 insertions, 55 deletions
diff --git a/cad/atlc/Makefile b/cad/atlc/Makefile
index c6e1efc78379..c4d8c1f7a0d7 100644
--- a/cad/atlc/Makefile
+++ b/cad/atlc/Makefile
@@ -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>