# 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-postgresql # orthanc-postgresql/distinfo # orthanc-postgresql/Makefile # orthanc-postgresql/pkg-descr # echo c - orthanc-postgresql mkdir -p orthanc-postgresql > /dev/null 2>&1 echo x - orthanc-postgresql/distinfo sed 's/^X//' >orthanc-postgresql/distinfo << '09be478cf3c436d24a44f738a45df907' XTIMESTAMP = 1593007326 XSHA256 (orthanc/OrthancPostgreSQL-3.2.tar.gz) = 5d1b17e6bbbaacbecbae6460c6e4067eec57dafe167644a2182df64061ba714a XSIZE (orthanc/OrthancPostgreSQL-3.2.tar.gz) = 211944 XSHA256 (orthanc/Orthanc-1.7.1.tar.gz) = b131c12a0b70a531e5fb2a38ffb258cbced2ab304231a52e491de22d69df8ffc XSIZE (orthanc/Orthanc-1.7.1.tar.gz) = 1640397 XSHA256 (orthanc/e2fsprogs-1.44.5.tar.gz) = 2e211fae27ef74d5af4a4e40b10b8df7f87c655933bd171aab4889bfc4e6d1cc XSIZE (orthanc/e2fsprogs-1.44.5.tar.gz) = 7619237 09be478cf3c436d24a44f738a45df907 echo x - orthanc-postgresql/Makefile sed 's/^X//' >orthanc-postgresql/Makefile << '5f975f5765c481986a0a0cc6c6280f9f' X# Created by: maintainer.freebsd@xpoundit.com X# $FreeBSD$ X XPORTNAME= orthanc-postgresql XPORTVERSION= 3.2 XPORTREVISION= 5 XCATEGORIES= science XMASTER_SITES= http://orthanc-server.com/downloads/get.php?path=/plugin-postgresql/:main \ X http://orthanc-server.com/downloads/get.php?path=/orthanc/:framework \ X http://orthanc.osimis.io/ThirdPartyDownloads/:thirdparty XDISTFILES= OrthancPostgreSQL-${PORTVERSION}.tar.gz:main \ X Orthanc-1.7.1.tar.gz:framework \ X e2fsprogs-1.44.5.tar.gz:thirdparty XDIST_SUBDIR= orthanc XEXTRACT_ONLY= OrthancPostgreSQL-${PORTVERSION}.tar.gz X XMAINTAINER= maintainer.freebsd@xpoundit.com XCOMMENT= Orthanc plugin to use PostgreSQL for indexing or storage 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 libjsoncpp.so:devel/jsoncpp \ X libpugixml.so:textproc/pugixml \ X libgtest.so:devel/googletest X XUSES= cmake pgsql localbase python:build X XWRKSRC= ${WRKDIR}/OrthancPostgreSQL-${PORTVERSION} XCMAKE_SOURCE_PATH= ${WRKSRC}/PostgreSQL XCMAKE_ARGS= -DUSE_SYSTEM_UUID=OFF \ X -DUSE_SYSTEM_ORTHANC_SDK=OFF \ X -DORTHANC_FRAMEWORK_SOURCE=path \ X -DORTHANC_FRAMEWORK_ROOT=${WRKSRC}/PostgreSQL/ThirdPartyDownloads/Orthanc-1.7.1 \ X -DBUILD_UNIT_TESTS=OFF XCXXFLAGS+= -I${LOCALBASE}/include \ X -DNDEBUG XLDFLAGS+= -L${LOCALBASE}/lib XCFLAGS+= -DORTHANC_ENABLE_LOGGING_PLUGIN \ X -DNDEBUG XUSE_LDCONFIG= yes XPLIST_FILES= share/orthanc/plugins/libOrthancPostgreSQLIndex.so \ X share/orthanc/plugins/libOrthancPostgreSQLIndex.so.${PORTVERSION} \ X share/orthanc/plugins/libOrthancPostgreSQLStorage.so \ X share/orthanc/plugins/libOrthancPostgreSQLStorage.so.${PORTVERSION} X Xpost-extract: X ${MKDIR} ${WRKSRC}/PostgreSQL/ThirdPartyDownloads X ${CP} ${DISTDIR}/${DIST_SUBDIR}/e2fsprogs-1.44.5.tar.gz ${WRKSRC}/PostgreSQL/ThirdPartyDownloads X ${CP} ${DISTDIR}/${DIST_SUBDIR}/Orthanc-1.7.1.tar.gz ${WRKSRC}/PostgreSQL/ThirdPartyDownloads X ${TAR} -C ${WRKSRC}/PostgreSQL/ThirdPartyDownloads -xf ${WRKSRC}/PostgreSQL/ThirdPartyDownloads/Orthanc-1.7.1.tar.gz X Xpost-patch: X @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Resources/CMake/*.cmake X X.include 5f975f5765c481986a0a0cc6c6280f9f echo x - orthanc-postgresql/pkg-descr sed 's/^X//' >orthanc-postgresql/pkg-descr << '64053f0fbc61f9359e342b6272095049' XOrthanc can be extended with two plugins that replace the default SQLite Xengine of Orthanc with a PostgreSQL back-end. X XWWW: https://www.orthanc-server.com/static.php?page=postgresql 64053f0fbc61f9359e342b6272095049 exit