# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # libsml # libsml/pkg-plist # libsml/distinfo # libsml/Makefile # libsml/pkg-descr # libsml/files # libsml/files/patch-test-unity-unity.c # libsml/files/patch-sml-Makefile # echo c - libsml mkdir -p libsml > /dev/null 2>&1 echo x - libsml/pkg-plist sed 's/^X//' >libsml/pkg-plist << 'bb4b535b2d5c9dc062a5302e9fc65ec8' Xbin/sml_server Xlib/libsml.a Xlib/libsml.so Xlib/libsml.so.1 Xinclude/sml/sml_attention_response.h Xinclude/sml/sml_boolean.h Xinclude/sml/sml_close_request.h Xinclude/sml/sml_close_response.h Xinclude/sml/sml_crc16.h Xinclude/sml/sml_file.h Xinclude/sml/sml_get_list_request.h Xinclude/sml/sml_get_list_response.h Xinclude/sml/sml_get_proc_parameter_request.h Xinclude/sml/sml_get_proc_parameter_response.h Xinclude/sml/sml_get_profile_list_request.h Xinclude/sml/sml_get_profile_list_response.h Xinclude/sml/sml_get_profile_pack_request.h Xinclude/sml/sml_get_profile_pack_response.h Xinclude/sml/sml_list.h Xinclude/sml/sml_message.h Xinclude/sml/sml_number.h Xinclude/sml/sml_octet_string.h Xinclude/sml/sml_open_request.h Xinclude/sml/sml_open_response.h Xinclude/sml/sml_set_proc_parameter_request.h Xinclude/sml/sml_shared.h Xinclude/sml/sml_status.h Xinclude/sml/sml_time.h Xinclude/sml/sml_transport.h Xinclude/sml/sml_tree.h Xinclude/sml/sml_value.h bb4b535b2d5c9dc062a5302e9fc65ec8 echo x - libsml/distinfo sed 's/^X//' >libsml/distinfo << '22721c2eba2aafea3f7f8d5dc6bc434e' XTIMESTAMP = 1520165866 XSHA256 (volkszaehler-libsml-0.1.1-2a8445b_GH0.tar.gz) = e9342a0e2b86a2e79d40fe8e6743a574e7d7a83034399f34044d3bbd3870f70f XSIZE (volkszaehler-libsml-0.1.1-2a8445b_GH0.tar.gz) = 106002 22721c2eba2aafea3f7f8d5dc6bc434e echo x - libsml/Makefile sed 's/^X//' >libsml/Makefile << 'd8e9d05a6dcc140e4ef8fd11db3619f0' X# Created by: Gerrit Beine X# $FreeBSD$ X XPORTNAME= libsml XPORTVERSION= 0.1.1 XCATEGORIES= devel X XMAINTAINER= mail+freebsd@gerritbeine.de XCOMMENT= Implementation in C of the Smart Message Language (SML) protocol X XLICENSE= GPLv3 X XLIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid X XUSES= gmake X XUSE_GITHUB= yes XGH_ACCOUNT= volkszaehler XGH_TAGNAME= 2a8445b X XALL_TARGET= all XCFLAGS+= -I ${PREFIX}/include X Xpost-patch: X ${REINPLACE_CMD} -e "s|-luuid|-luuid -L ${PREFIX}/lib|" ${WRKSRC}/examples/Makefile X ${REINPLACE_CMD} -e "s|-luuid|-luuid -L ${PREFIX}/lib|" ${WRKSRC}/test/Makefile X ${REINPLACE_CMD} -e "s|prefix = /usr/local|prefix = ${STAGEDIR}${PREFIX}|" ${WRKSRC}/examples/Makefile X ${REINPLACE_CMD} -e "s|prefix = /usr/local|prefix = ${STAGEDIR}${PREFIX}|" ${WRKSRC}/sml/Makefile X X.include d8e9d05a6dcc140e4ef8fd11db3619f0 echo x - libsml/pkg-descr sed 's/^X//' >libsml/pkg-descr << '5debc8f65eceba110d23274e2ed231c5' XlibSML is a library which implements the Smart Message Language (SML) protocol Xspecified by VDE's Forum Netztechnik/Netzbetrieb (FNN). It can be utilized to Xcommunicate to FNN specified Smart Meters or Smart Meter components (EDL/MUC). X XWWW: https://github.com/volkszaehler/libsml 5debc8f65eceba110d23274e2ed231c5 echo c - libsml/files mkdir -p libsml/files > /dev/null 2>&1 echo x - libsml/files/patch-test-unity-unity.c sed 's/^X//' >libsml/files/patch-test-unity-unity.c << '703628b3272837b22b15bde9a878a8aa' X--- test/unity/unity.c.orig 2018-03-10 20:32:24.582799000 +0100 X+++ test/unity/unity.c X@@ -19,9 +19,7 @@ X #ifdef __APPLE__ X struct _Unity Unity = { 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , { 0 } }; X #else X-struct _Unity Unity = { 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , X- .AbortFrame = { {.__jmpbuf = {0}, .__mask_was_saved = 0, .__saved_mask = {{0}} } } X-}; X+struct _Unity Unity = { 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , { 0 } }; X #endif X X const char* UnityStrNull = "NULL"; 703628b3272837b22b15bde9a878a8aa echo x - libsml/files/patch-sml-Makefile sed 's/^X//' >libsml/files/patch-sml-Makefile << '32ee76722def393a0cadaa0ffc541c58' X--- sml/Makefile.orig 2018-01-25 17:04:21 UTC X+++ sml/Makefile X@@ -4,10 +4,6 @@ CFLAGS += -I./include/ -fPIC -fno-stack- X # Available Flags: X # SML_NO_UUID_LIB - compile without uuid lib X X-ifneq ($(UNAME), Darwin) X-LIBS=-luuid X-endif X- X NAME=libsml X SOVERSION=1 X ifeq ($(UNAME), Darwin) 32ee76722def393a0cadaa0ffc541c58 exit