1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Support stage

General cleanup
This commit is contained in:
Baptiste Daroussin 2014-01-09 00:00:05 +00:00
parent 3022916800
commit eed5d20c30
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339190

View File

@ -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>