# 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: # # orthanc-mysql # orthanc-mysql/Makefile # orthanc-mysql/pkg-descr # orthanc-mysql/distinfo # echo c - orthanc-mysql mkdir -p orthanc-mysql > /dev/null 2>&1 echo x - orthanc-mysql/Makefile sed 's/^X//' >orthanc-mysql/Makefile << '51642adb3d5c48bf19f1d9f039cb3c58' X# Created by: maintainer.freebsd@xpoundit.com X# $FreeBSD$ X XPORTNAME= orthanc-mysql XPORTVERSION= 2.0 XCATEGORIES= science X XMASTER_SITES= http://orthanc-server.com/downloads/get.php?path=/plugin-mysql/:main \ X http://orthanc-server.com/downloads/get.php?path=/orthanc/:framework \ X http://orthanc.osimis.io/ThirdPartyDownloads/:thirdparty XDISTFILES= OrthancMySQL-${PORTVERSION}.tar.gz:main \ X Orthanc-1.5.8.tar.gz:framework \ X e2fsprogs-1.44.5.tar.gz:thirdparty X XDISTNAME= OrthancMySQL-${PORTVERSION} XDIST_SUBDIR= orthanc X XMAINTAINER= maintainer.freebsd@xpoundit.com XCOMMENT= Plugins to use MySQL or MariaDB as the database back-end of Orthanc instead of SQLite X XLICENSE= AGPLv3 XLICENSE_FILE= ${WRKSRC}/COPYING X XBUILD_DEPENDS= ${LOCALBASE}/include/orthanc/OrthancCDatabasePlugin.h:science/orthanc XLIB_DEPENDS= libgdcmCommon.so:devel/gdcm \ X libboost_filesystem.so:devel/boost-libs \ X libboost_thread.so:devel/boost-libs \ X libboost_system.so:devel/boost-libs \ X libboost_date_time.so:devel/boost-libs \ X libboost_regex.so:devel/boost-libs \ X libboost_locale.so:devel/boost-libs \ X libjsoncpp.so:devel/jsoncpp \ X libpugixml.so:textproc/pugixml \ X libgtest.so:devel/googletest X XUSES= cmake mysql localbase python:build X XCMAKE_SOURCE_PATH= ${WRKSRC}/MySQL XCMAKE_ARGS= -DUSE_SYSTEM_UUID=OFF \ X -DUSE_SYSTEM_ORTHANC_SDK=OFF \ X -DORTHANC_FRAMEWORK_SOURCE=path \ X -DORTHANC_FRAMEWORK_ROOT=${WRKSRC}/MySQL/ThirdPartyDownloads/Orthanc-1.5.8 \ X -DBUILD_UNIT_TESTS=OFF X XCXXFLAGS+= -I${LOCALBASE}/include XLDFLAGS+= -L${LOCALBASE}/lib XLDFLAGS+= -L${LOCALBASE}/lib/mysql XCFLAGS+= -DORTHANC_ENABLE_LOGGING_PLUGIN X XCONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" X XPLIST_FILES= share/orthanc/plugins/libOrthancMySQLIndex.so \ X share/orthanc/plugins/libOrthancMySQLIndex.so.${PORTVERSION} \ X share/orthanc/plugins/libOrthancMySQLStorage.so \ X share/orthanc/plugins/libOrthancMySQLStorage.so.${PORTVERSION} X Xpost-extract: X ${MKDIR} ${WRKSRC}/MySQL/ThirdPartyDownloads X ${CP} ${DISTDIR}/${DIST_SUBDIR}/e2fsprogs-1.44.5.tar.gz ${WRKSRC}/MySQL/ThirdPartyDownloads X ${CP} ${DISTDIR}/${DIST_SUBDIR}/Orthanc-1.5.8.tar.gz ${WRKSRC}/MySQL/ThirdPartyDownloads X ${TAR} -C ${WRKSRC}/MySQL/ThirdPartyDownloads -xf ${WRKSRC}/MySQL/ThirdPartyDownloads/Orthanc-1.5.8.tar.gz X Xpost-patch: X @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Resources/CMake/*.cmake X X.include 51642adb3d5c48bf19f1d9f039cb3c58 echo x - orthanc-mysql/pkg-descr sed 's/^X//' >orthanc-mysql/pkg-descr << '794f151f9ed5c68f0df70c9bcbb419ab' XOrthanc can be extended with two plugins that replace the default SQLite Xengine of Orthanc with a MySQL back-end. These plugins are compatible with XMariaDB as well. X XWWW: https://www.orthanc-server.com/static.php?page=mysql 794f151f9ed5c68f0df70c9bcbb419ab echo x - orthanc-mysql/distinfo sed 's/^X//' >orthanc-mysql/distinfo << '0cb6c736f0050e3f68522a7e450a5140' XTIMESTAMP = 1575971849 XSHA256 (orthanc/OrthancMySQL-2.0.tar.gz) = b44e0b092e5d70c95962383142f93adba64da283e3a3fd140e1a5f0e2464971e XSIZE (orthanc/OrthancMySQL-2.0.tar.gz) = 166832 XSHA256 (orthanc/Orthanc-1.5.8.tar.gz) = da8aa4ce6e6942c8190e3910a595ee36555ed002e75c151395705bee25b73836 XSIZE (orthanc/Orthanc-1.5.8.tar.gz) = 1561300 XSHA256 (orthanc/e2fsprogs-1.44.5.tar.gz) = 2e211fae27ef74d5af4a4e40b10b8df7f87c655933bd171aab4889bfc4e6d1cc XSIZE (orthanc/e2fsprogs-1.44.5.tar.gz) = 7619237 0cb6c736f0050e3f68522a7e450a5140 exit