diff --git a/cad/Makefile b/cad/Makefile --- a/cad/Makefile +++ b/cad/Makefile @@ -17,6 +17,7 @@ SUBDIR += calculix SUBDIR += calculix-ccx SUBDIR += camotics + SUBDIR += camv-rnd SUBDIR += caneda SUBDIR += cascade SUBDIR += cascade-compiler diff --git a/cad/camv-rnd/Makefile b/cad/camv-rnd/Makefile new file mode 100644 --- /dev/null +++ b/cad/camv-rnd/Makefile @@ -0,0 +1,38 @@ +PORTNAME= camv-rnd +DISTVERSION= 1.1.6 +CATEGORIES= cad +MASTER_SITES= http://www.repo.hu/projects/${PORTNAME}/releases/ + +MAINTAINER= alven@FreeBSD.org +COMMENT= Small, flexible viewer for PCB-related CAM file formats +WWW= http://www.repo.hu/projects/camv-rnd/ + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libfungw.so:devel/fungw \ + libgenht.so:devel/genht \ + librnd-hid.so:cad/librnd + +USES= gmake tar:bz2 + +HAS_CONFIGURE= yes +CONFIGURE_ARGS= ${WITH_DEBUG:D--debug} \ + --CC=${CC} \ + --CFLAGS='${CFLAGS}' \ + --LDFLAGS='${LDFLAGS}' + +BINARY_ALIAS= make=${MAKE_CMD} + +PORTDOCS= * + +OPTIONS_DEFINE= DOCS + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/camv-rnd + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/camv-rnd/plugins/*.so + +post-install-DOCS-off: + ${RM} -r ${STAGEDIR}${DOCSDIR} + +.include diff --git a/cad/camv-rnd/distinfo b/cad/camv-rnd/distinfo new file mode 100644 --- /dev/null +++ b/cad/camv-rnd/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1761608387 +SHA256 (camv-rnd-1.1.6.tar.bz2) = efff6fd8963bd029e0021d1c0bc79fdd9ca4cd334608ef6485213e87179066e0 +SIZE (camv-rnd-1.1.6.tar.bz2) = 420651 diff --git a/cad/camv-rnd/pkg-descr b/cad/camv-rnd/pkg-descr new file mode 100644 --- /dev/null +++ b/cad/camv-rnd/pkg-descr @@ -0,0 +1,7 @@ +camv-rnd is a Free Software small, flexible viewer for PCB-related CAM file +formats + +- supports gerber, excellon, g-code +- imports/exports multiple file formats +- is part of the Ringdove EDA suite +- is part of the coralEDA ecosystem diff --git a/cad/camv-rnd/pkg-plist b/cad/camv-rnd/pkg-plist new file mode 100644 --- /dev/null +++ b/cad/camv-rnd/pkg-plist @@ -0,0 +1,17 @@ +bin/camv-rnd +%%ETCDIR%%/conf_core.lht +%%ETCDIR%%/import_gcode.conf +%%ETCDIR%%/menu.lht +lib/camv-rnd/plugins/dialogs.pup +lib/camv-rnd/plugins/dialogs.so +lib/camv-rnd/plugins/export_lpr.pup +lib/camv-rnd/plugins/export_lpr.so +lib/camv-rnd/plugins/export_png.pup +lib/camv-rnd/plugins/export_png.so +lib/camv-rnd/plugins/export_ps.pup +lib/camv-rnd/plugins/export_ps.so +lib/camv-rnd/plugins/export_svg.pup +lib/camv-rnd/plugins/export_svg.so +lib/camv-rnd/plugins/gui.pup +lib/camv-rnd/plugins/gui.so +share/man/man1/camv-rnd.1.gz