cad/pcb-rnd: update 3.1.1 → 3.1.6

* Enable testing, though marked TESTING_UNSAFE=	yes for
  "ld: error: unable to find library -lrnd-3rd"
* Fix MASTER_SITES
* Some linting
* Sort LIB_DEPENDS
* Fix post-{patch,install} order

News:
http://www.repo.hu/projects/pcb-rnd/news.html

Release notes:
http://www.repo.hu/projects/pcb-rnd/releases/relnotes-3.1.2.txt
http://www.repo.hu/projects/pcb-rnd/releases/relnotes-3.1.3.txt
http://www.repo.hu/projects/pcb-rnd/releases/relnotes-3.1.4.txt
http://www.repo.hu/projects/pcb-rnd/releases/relnotes-3.1.5.txt
http://www.repo.hu/projects/pcb-rnd/releases/relnotes-3.1.6.txt

Changelogs:
http://www.repo.hu/projects/pcb-rnd/releases/changelog-3.1.6.txt

PR:		284174
Approved by:	hasdalcodes@gmail.com (maintainer, timeout > 2 weeks)
This commit is contained in:
Älven 2025-02-07 13:17:08 +03:00 committed by Vladimir Druzenko
parent 8c23375c83
commit 513f75f5a3
3 changed files with 30 additions and 13 deletions

View file

@ -1,7 +1,7 @@
PORTNAME= pcb-rnd
DISTVERSION= 3.1.1
DISTVERSION= 3.1.6
CATEGORIES= cad
MASTER_SITES= http://repo.hu/projects/pcb-rnd/releases/
MASTER_SITES= http://www.repo.hu/projects/pcb-rnd/releases/
MAINTAINER= hasdalcodes@gmail.com
COMMENT= Flexible, modular Printed Circuit Board editor
@ -26,18 +26,23 @@ CONFIGURE_ARGS= --cflags/libs/sul/freetype2="-I${LOCALBASE}/include/freetype2 -I
--CC=${CC} \
--CFLAGS='${CFLAGS}' \
--LDFLAGS='${LDFLAGS}'
TEST_TARGET= test
BINARY_ALIAS= make=${MAKE_CMD}
OPTIONS_DEFINE= DOCS
post-install:
.for f in pcb-rnd txt2bxl bxl2txt gsch2pcb-rnd
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/$f
.endfor
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pcb-rnd/plugins/*.so
TESTING_UNSAFE= yes # ld: error: unable to find library -lrnd-3rd
post-patch:
@${ECHO_CMD} 'USER_CFLAGS += -DSCCONFIG_ACCEPT_IMPLICIT' \
>> ${WRKSRC}/scconfig/Makefile
post-install:
.for f in bxl2txt gsch2pcb-rnd pcb-rnd txt2bxl
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/$f
.endfor
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pcb-rnd/plugins/*.so
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1686956757
SHA256 (pcb-rnd-3.1.1.tar.bz2) = 34fdf090f933f07509b82231e81fa828da29f8a2f80ec5608a6a02005e476b97
SIZE (pcb-rnd-3.1.1.tar.bz2) = 4767448
TIMESTAMP = 1738922071
SHA256 (pcb-rnd-3.1.6.tar.bz2) = 0a955fd052a643237547dcbb18525e052b7631508fe4189fe9b24867d40be84b
SIZE (pcb-rnd-3.1.6.tar.bz2) = 5107077

View file

@ -12,7 +12,9 @@ bin/txt2bxl
%%ETCDIR%%/cam.conf
%%ETCDIR%%/ch_editpoint.conf
%%ETCDIR%%/conf_core.lht
%%ETCDIR%%/draw_pnp.conf
%%ETCDIR%%/drc_query.conf
%%ETCDIR%%/export_bom.conf
%%ETCDIR%%/export_xy.conf
%%ETCDIR%%/fp_fs.conf
%%ETCDIR%%/fp_wget.conf
@ -23,7 +25,6 @@ bin/txt2bxl
%%ETCDIR%%/order.conf
%%ETCDIR%%/order_pcbway.conf
%%ETCDIR%%/show_netnames.conf
lib/pcb-rnd/gnet-gsch2pcb-rnd.scm
lib/pcb-rnd/gnet-pcbrndfwd.scm
lib/pcb-rnd/gnet-pcbrndfwd_elem.scm
lib/pcb-rnd/plugins/ar_cpcb.pup
@ -95,6 +96,7 @@ lib/pcb-rnd/plugins/order_pcbway.so
%%PORTDOCS%%%%DOCSDIR%%/conf/tree/appearance_misc.html
%%PORTDOCS%%%%DOCSDIR%%/conf/tree/appearance_padstack.html
%%PORTDOCS%%%%DOCSDIR%%/conf/tree/appearance_subc.html
%%PORTDOCS%%%%DOCSDIR%%/conf/tree/debug.html
%%PORTDOCS%%%%DOCSDIR%%/conf/tree/design.html
%%PORTDOCS%%%%DOCSDIR%%/conf/tree/design_drc.html
%%PORTDOCS%%%%DOCSDIR%%/conf/tree/design_drc_disable.html
@ -145,7 +147,6 @@ lib/pcb-rnd/plugins/order_pcbway.so
%%PORTDOCS%%%%DOCSDIR%%/developer/lihata_format/index.html
%%PORTDOCS%%%%DOCSDIR%%/developer/lihata_format/pcb-rnd-board-v.svg
%%PORTDOCS%%%%DOCSDIR%%/developer/lihata_format/pcb-rnd-conf-v1.svg
%%PORTDOCS%%%%DOCSDIR%%/developer/lihata_format/pcb-rnd-font-v1.svg
%%PORTDOCS%%%%DOCSDIR%%/developer/lihata_format/pcb-rnd-log-v.svg
%%PORTDOCS%%%%DOCSDIR%%/developer/lihata_format/pcb-rnd-subcircuit-v.svg
%%PORTDOCS%%%%DOCSDIR%%/developer/lihata_format/submenu.svg
@ -568,7 +569,6 @@ share/man/man1/txt2bxl.1.gz
%%DATADIR%%/default_font
%%DATADIR%%/footprint/connector/BNC_LAY.fp
%%DATADIR%%/footprint/connector/BNC_LAY.scad
%%DATADIR%%/footprint/connector/DSUB.scad
%%DATADIR%%/footprint/connector/DB15F.fp
%%DATADIR%%/footprint/connector/DB15M.fp
%%DATADIR%%/footprint/connector/DB25F.fp
@ -577,38 +577,50 @@ share/man/man1/txt2bxl.1.gz
%%DATADIR%%/footprint/connector/DB37M.fp
%%DATADIR%%/footprint/connector/DB9F.fp
%%DATADIR%%/footprint/connector/DB9M.fp
%%DATADIR%%/footprint/connector/DSUB.scad
%%DATADIR%%/footprint/connector/pwrjack.fp
%%DATADIR%%/footprint/connector/pwrjack.scad
%%DATADIR%%/footprint/parametric/acy
%%DATADIR%%/footprint/parametric/acy.awk
%%DATADIR%%/footprint/parametric/acy.scad
%%DATADIR%%/footprint/parametric/alf
%%DATADIR%%/footprint/parametric/alf.awk
%%DATADIR%%/footprint/parametric/alf.scad
%%DATADIR%%/footprint/parametric/bga
%%DATADIR%%/footprint/parametric/bga.awk
%%DATADIR%%/footprint/parametric/bga.scad
%%DATADIR%%/footprint/parametric/common.awk
%%DATADIR%%/footprint/parametric/common_subc.awk
%%DATADIR%%/footprint/parametric/connector
%%DATADIR%%/footprint/parametric/connector.awk
%%DATADIR%%/footprint/parametric/connector.scad
%%DATADIR%%/footprint/parametric/dip
%%DATADIR%%/footprint/parametric/dip.awk
%%DATADIR%%/footprint/parametric/dip.scad
%%DATADIR%%/footprint/parametric/msop
%%DATADIR%%/footprint/parametric/plcc
%%DATADIR%%/footprint/parametric/plcc.awk
%%DATADIR%%/footprint/parametric/plcc.scad
%%DATADIR%%/footprint/parametric/qf
%%DATADIR%%/footprint/parametric/qf.awk
%%DATADIR%%/footprint/parametric/qfn
%%DATADIR%%/footprint/parametric/qfn.awk
%%DATADIR%%/footprint/parametric/qfn.scad
%%DATADIR%%/footprint/parametric/qfp
%%DATADIR%%/footprint/parametric/qfp.awk
%%DATADIR%%/footprint/parametric/qfp.scad
%%DATADIR%%/footprint/parametric/qsop
%%DATADIR%%/footprint/parametric/rcy
%%DATADIR%%/footprint/parametric/rcy.awk
%%DATADIR%%/footprint/parametric/rcy.scad
%%DATADIR%%/footprint/parametric/screw
%%DATADIR%%/footprint/parametric/screw.awk
%%DATADIR%%/footprint/parametric/screw.scad
%%DATADIR%%/footprint/parametric/silkmark.help
%%DATADIR%%/footprint/parametric/silkmark_qf.help
%%DATADIR%%/footprint/parametric/so
%%DATADIR%%/footprint/parametric/so.awk
%%DATADIR%%/footprint/parametric/so.scad
%%DATADIR%%/footprint/parametric/ssop
%%DATADIR%%/footprint/parametric/tssop
%%DATADIR%%/footprint/smd/01005.fp