aboutsummaryrefslogtreecommitdiff
path: root/cad/atlc/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-09 00:00:05 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-09 00:00:05 +0000
commiteed5d20c30eb426e692ce093a48223da3f46c9d9 (patch)
tree994242cad020fa129d7d4b6a9e6848041c3d7273 /cad/atlc/Makefile
parent302291680025b190e563560e7bff425a6c3646a0 (diff)
downloadports-eed5d20c30eb426e692ce093a48223da3f46c9d9.tar.gz
ports-eed5d20c30eb426e692ce093a48223da3f46c9d9.zip
Notes
Diffstat (limited to 'cad/atlc/Makefile')
-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>