Index: head/comms/Makefile =================================================================== --- head/comms/Makefile (revision 489493) +++ head/comms/Makefile (revision 489494) @@ -1,209 +1,210 @@ # $FreeBSD$ # COMMENT = Communication utilities SUBDIR += acfax SUBDIR += airspy SUBDIR += aldo SUBDIR += amtterm SUBDIR += anyremote SUBDIR += apitran SUBDIR += aprsd SUBDIR += atslog SUBDIR += bfhist SUBDIR += bforce-kst SUBDIR += birda SUBDIR += bluegps SUBDIR += bluez-firmware SUBDIR += bpl+ SUBDIR += chirp SUBDIR += chu SUBDIR += comserv SUBDIR += concordance SUBDIR += congruity SUBDIR += conserver SUBDIR += conserver-com SUBDIR += cqrlog SUBDIR += cutecom SUBDIR += cwdaemon SUBDIR += cwstudio SUBDIR += dabstick-radio SUBDIR += dcf77pi SUBDIR += deforaos-phone SUBDIR += dfu-programmer SUBDIR += dfu-util SUBDIR += direwolf SUBDIR += dump1090 SUBDIR += ebook2cw SUBDIR += ebook2cwgui SUBDIR += echolinux SUBDIR += efax SUBDIR += ems-flasher SUBDIR += fl_moxgen SUBDIR += flcluster SUBDIR += fldigi SUBDIR += fllog SUBDIR += flrig SUBDIR += flwrap SUBDIR += freedv SUBDIR += gammu SUBDIR += geoid SUBDIR += gkermit SUBDIR += gnocky SUBDIR += gnokii SUBDIR += gnuradio SUBDIR += gpredict SUBDIR += gqrx SUBDIR += gr-osmosdr SUBDIR += grig SUBDIR += gsmlib SUBDIR += gstreamer1-plugins-spandsp SUBDIR += gtkmmorse SUBDIR += hackrf SUBDIR += hamfax SUBDIR += hamlib SUBDIR += hcidump SUBDIR += hidapi SUBDIR += hylafax SUBDIR += ibp SUBDIR += inspectrum SUBDIR += java-simple-serial-connector SUBDIR += jerm SUBDIR += kb SUBDIR += kermit SUBDIR += klog SUBDIR += libbtbb SUBDIR += libconcord SUBDIR += libfap SUBDIR += libfec SUBDIR += libimobiledevice SUBDIR += libirman SUBDIR += libmodbus SUBDIR += librs232 SUBDIR += libsdr SUBDIR += libsdr-gui SUBDIR += libticables2 SUBDIR += libticalcs2 SUBDIR += libusbmuxd SUBDIR += linpsk SUBDIR += linrad SUBDIR += liquid-dsp SUBDIR += lirc SUBDIR += locator SUBDIR += lrzsz SUBDIR += lysdr SUBDIR += mgetty+sendfax SUBDIR += minicom SUBDIR += mlan3 SUBDIR += morse SUBDIR += multimon-ng SUBDIR += nasawash SUBDIR += ncid SUBDIR += nec2c SUBDIR += nmealib SUBDIR += nokryptia SUBDIR += o2sms SUBDIR += obexapp SUBDIR += openobex SUBDIR += owfs SUBDIR += p5-Cisco-UCS SUBDIR += p5-Device-Gsm SUBDIR += p5-Device-Modem SUBDIR += p5-Device-SerialPort SUBDIR += p5-Fax-Hylafax-Client SUBDIR += p5-Nexmo-SMS SUBDIR += p5-SMS-SMS77 SUBDIR += p5-SMS-Send SUBDIR += p5-SMS-Send-DeviceGsm SUBDIR += p5-SMS-Send-NexmoUnicode SUBDIR += p5-SMS-Send-TW-HiAir SUBDIR += p5-SMS-Send-TW-PChome SUBDIR += p5-SMS-Send-TW-Qma SUBDIR += p5-SMS-Send-TW-ShareSMS SUBDIR += p5-SMS-Send-TW-Socket2Air SUBDIR += p5-SMS-Send-TW-chtsns SUBDIR += p5-SMS-Send-TW-emome SUBDIR += pear-Horde_ActiveSync SUBDIR += pear-Horde_SyncMl SUBDIR += picocom SUBDIR += pr SUBDIR += predict SUBDIR += py-adafruit-ampy SUBDIR += py-bulksms SUBDIR += py-esptool SUBDIR += py-gammu SUBDIR += py-hidapi SUBDIR += py-libconcord SUBDIR += py-libimobiledevice SUBDIR += py-lirc SUBDIR += py-qt5-serialport SUBDIR += py-serial SUBDIR += py-xmodem SUBDIR += pyla SUBDIR += qico SUBDIR += qpage SUBDIR += qrq SUBDIR += qsstv SUBDIR += qt5-connectivity SUBDIR += qt5-sensors SUBDIR += qt5-serialbus SUBDIR += qt5-serialport SUBDIR += qtel SUBDIR += quisk SUBDIR += remserial SUBDIR += rtl-sdr SUBDIR += rubygem-callsign SUBDIR += rubygem-ruby-termios SUBDIR += rubygem-serialport SUBDIR += rxtx SUBDIR += scmxx SUBDIR += sdr-wspr SUBDIR += ser2net SUBDIR += serialoverip SUBDIR += seyon SUBDIR += sms_client SUBDIR += smstools3 + SUBDIR += snap7 SUBDIR += spandsp SUBDIR += splat SUBDIR += sredird SUBDIR += sunxi-tools SUBDIR += svxlink SUBDIR += syncterm SUBDIR += tcpser SUBDIR += telldus-core SUBDIR += thebridge SUBDIR += tilp2 SUBDIR += tio SUBDIR += tits SUBDIR += tkhylafax SUBDIR += tkscanfax SUBDIR += tlf SUBDIR += trustedqsl SUBDIR += twpsk SUBDIR += uarduno SUBDIR += uartlirc SUBDIR += ubertooth SUBDIR += uhd SUBDIR += uird SUBDIR += unixcw SUBDIR += usbmuxd SUBDIR += viewfax SUBDIR += vrflash SUBDIR += wsjtx SUBDIR += wwl SUBDIR += wy60 SUBDIR += xastir SUBDIR += xcwcp SUBDIR += xdx SUBDIR += xlog SUBDIR += xmorse SUBDIR += xnec2c SUBDIR += xnecview SUBDIR += yaac SUBDIR += yagiuda SUBDIR += yaps SUBDIR += yfklog SUBDIR += zssh .include Index: head/comms/snap7/Makefile =================================================================== --- head/comms/snap7/Makefile (nonexistent) +++ head/comms/snap7/Makefile (revision 489494) @@ -0,0 +1,34 @@ +# Created by: Vladimir Grebenschikov +# $FreeBSD$ + +PORTNAME= snap7 +PORTVERSION= 1.4.2 +CATEGORIES= comms +MASTER_SITES= SF/snap7/${PORTVERSION} +DISTNAME= ${PORTNAME}-full-${PORTVERSION} +EXTRACT_SUFX= .7z + +MAINTAINER= vova@fbsd.ru +COMMENT= Multi-platform Ethernet S7 PLC communication suite + +LICENSE= GPLv3 + +ONLY_FOR_ARCHS= amd64 armv6 i386 mips + +USES= gmake +USE_LDCONFIG= yes + +WRKSRC= ${WRKDIR}/${PORTNAME}-full-${PORTVERSION} +WRKSRC_SUBDIR= build/unix + +MAKE_ARGS= CC=${CC} CXX=${CXX} LinkerName=${CXX} SharedObjectLinkerName="${CXX} -shared -fPIC" + +PLIST_FILES= lib/libsnap7.so include/snap7.h share/examples/snap7/c-cpp/snap7.cpp + +SNAP_ARCH= ${ARCH:S/amd64/x86_64/:S/armv6/arm_v6/} +MAKEFILE= ${SNAP_ARCH}_bsd.mk + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsnap7.so + +.include Property changes on: head/comms/snap7/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/snap7/distinfo =================================================================== --- head/comms/snap7/distinfo (nonexistent) +++ head/comms/snap7/distinfo (revision 489494) @@ -0,0 +1,3 @@ +TIMESTAMP = 1546780813 +SHA256 (snap7-full-1.4.2.7z) = 1f4270cde8684957770a10a1d311c226e670d9589c69841a9012e818f7b9f80e +SIZE (snap7-full-1.4.2.7z) = 20591252 Property changes on: head/comms/snap7/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/snap7/files/patch-arm__v6__bsd.mk =================================================================== --- head/comms/snap7/files/patch-arm__v6__bsd.mk (nonexistent) +++ head/comms/snap7/files/patch-arm__v6__bsd.mk (revision 489494) @@ -0,0 +1,18 @@ +--- arm_v6_bsd.mk.orig 2016-12-20 09:52:10 UTC ++++ arm_v6_bsd.mk +@@ -0,0 +1,15 @@ ++## ++## ARMHF V6 tested on ++## - Raspberry board - ++## ++## To improve the build speed in small systems disable -pedantic ++## switch in CXXFLAGS ++## ++TargetCPU :=arm_v6 ++OS :=bsd ++CXXFLAGS := -O3 -g -fPIC -pedantic ++ ++# Standard part ++ ++include common.mk ++ Property changes on: head/comms/snap7/files/patch-arm__v6__bsd.mk ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/snap7/files/patch-common.mk =================================================================== --- head/comms/snap7/files/patch-common.mk (nonexistent) +++ head/comms/snap7/files/patch-common.mk (revision 489494) @@ -0,0 +1,21 @@ +--- common.mk.orig 2014-04-16 08:16:20 UTC ++++ common.mk +@@ -22,7 +22,9 @@ LinkOptions := -O3 + IncludePath := $(IncludeSwitch). $(IncludeSwitch)../../src/sys $(IncludeSwitch)../../src/core $(IncludeSwitch)../../src/lib + Libs := $(LibrarySwitch)pthread $(LibrarySwitch)rt + LibPath := $(LibraryPathSwitch). +-LibInstall := /usr/lib ++LibInstall := $(DESTDIR)/$(PREFIX)/lib ++IncInstall := $(DESTDIR)/$(PREFIX)/include ++WrapperInstall := $(DESTDIR)/$(PREFIX)/share/examples/snap7/c-cpp + + ## + ## Common variables (CXXFLAGS varies across platforms) +@@ -108,4 +110,6 @@ clean: + + install: all + cp -f $(OutputFile) $(LibInstall) +- ++ cp -f ../../release/Wrappers/c-cpp/snap7.h $(IncInstall) ++ $(MakeDirCommand) $(WrapperInstall) ++ cp -f ../../release/Wrappers/c-cpp/snap7.cpp $(WrapperInstall) Property changes on: head/comms/snap7/files/patch-common.mk ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/snap7/files/patch-mips__bsd.mk =================================================================== --- head/comms/snap7/files/patch-mips__bsd.mk (nonexistent) +++ head/comms/snap7/files/patch-mips__bsd.mk (revision 489494) @@ -0,0 +1,15 @@ +--- mips_bsd.mk.orig 2016-12-20 10:44:15 UTC ++++ mips_bsd.mk +@@ -0,0 +1,12 @@ ++## ++## mips BSD based (FreeBSD etc.) Makefile ++## Use gmake instead of make ++## ++TargetCPU :=mips ++OS :=bsd ++CXXFLAGS := -O3 -fPIC -pedantic ++ ++# Standard part ++ ++include common.mk ++ Property changes on: head/comms/snap7/files/patch-mips__bsd.mk ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/snap7/pkg-descr =================================================================== --- head/comms/snap7/pkg-descr (nonexistent) +++ head/comms/snap7/pkg-descr (revision 489494) @@ -0,0 +1,13 @@ +Snap7, through three specialized components: Client and the inedited Server +and Partner, allows you to definitively integrate your PC based systems into +a PLC automation chain. + +Designed to transfer large amounts of hi-speed data in industrial facilities, +it scales easily, down to small Linux Arm boards such as Raspberry PI. + +Hi level object oriented wrappers are provided, currently C/C++, .NET/Mono, +Pascal, LabVIEW, Python with many source code examples. + +Very detailed documentation provided. + +WWW: http://sourceforge.net/projects/snap7/ Property changes on: head/comms/snap7/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property