Lines 1-12
Link Here
|
1 |
PORTNAME= orthanc-postgresql |
1 |
PORTNAME= orthanc-postgresql |
2 |
DISTVERSION= 4.0 |
2 |
DISTVERSION= 5.1 |
3 |
PORTREVISION= 6 |
|
|
4 |
CATEGORIES= science |
3 |
CATEGORIES= science |
5 |
MASTER_SITES= https://www.orthanc-server.com/downloads/get.php?path=/plugin-postgresql/:main \ |
4 |
MASTER_SITES= https://orthanc.uclouvain.be/downloads/sources/orthanc-postgresql/:main \ |
6 |
https://www.orthanc-server.com/downloads/get.php?path=/orthanc/:framework \ |
5 |
https://orthanc.uclouvain.be/downloads/sources/orthanc/:framework \ |
7 |
https://orthanc.osimis.io/ThirdPartyDownloads/:thirdparty |
6 |
https://orthanc.uclouvain.be/downloads/third-party-downloads/:thirdparty |
8 |
DISTFILES= OrthancPostgreSQL-${PORTVERSION}.tar.gz:main \ |
7 |
DISTFILES= OrthancPostgreSQL-${PORTVERSION}.tar.gz:main \ |
9 |
Orthanc-1.9.3.tar.gz:framework \ |
8 |
Orthanc-1.12.1.tar.gz:framework \ |
10 |
e2fsprogs-1.44.5.tar.gz:thirdparty |
9 |
e2fsprogs-1.44.5.tar.gz:thirdparty |
11 |
DIST_SUBDIR= orthanc |
10 |
DIST_SUBDIR= orthanc |
12 |
EXTRACT_ONLY= OrthancPostgreSQL-${PORTVERSION}.tar.gz |
11 |
EXTRACT_ONLY= OrthancPostgreSQL-${PORTVERSION}.tar.gz |
Lines 32-38
WRKSRC= ${WRKDIR}/OrthancPostgreSQL-${PORTVERSION}
Link Here
|
32 |
|
31 |
|
33 |
CMAKE_SOURCE_PATH= ${WRKSRC}/PostgreSQL |
32 |
CMAKE_SOURCE_PATH= ${WRKSRC}/PostgreSQL |
34 |
CMAKE_OFF= BUILD_UNIT_TESTS USE_SYSTEM_ORTHANC_SDK USE_SYSTEM_UUID |
33 |
CMAKE_OFF= BUILD_UNIT_TESTS USE_SYSTEM_ORTHANC_SDK USE_SYSTEM_UUID |
35 |
CMAKE_ARGS= -DORTHANC_FRAMEWORK_ROOT=${WRKSRC}/PostgreSQL/ThirdPartyDownloads/Orthanc-1.9.3/OrthancFramework/Sources \ |
34 |
CMAKE_ARGS= -DORTHANC_FRAMEWORK_ROOT=${WRKSRC}/PostgreSQL/ThirdPartyDownloads/Orthanc-1.12.1/OrthancFramework/Sources \ |
36 |
-DORTHANC_FRAMEWORK_SOURCE=path |
35 |
-DORTHANC_FRAMEWORK_SOURCE=path |
37 |
CXXFLAGS+= -I${LOCALBASE}/include -DNDEBUG |
36 |
CXXFLAGS+= -I${LOCALBASE}/include -DNDEBUG |
38 |
LDFLAGS+= -L${LOCALBASE}/lib |
37 |
LDFLAGS+= -L${LOCALBASE}/lib |
Lines 41-49
CFLAGS+= -DORTHANC_ENABLE_LOGGING_PLUGIN -DNDEBUG
Link Here
|
41 |
PLIST_SUB= DISTVERSION=${DISTVERSION} |
40 |
PLIST_SUB= DISTVERSION=${DISTVERSION} |
42 |
|
41 |
|
43 |
post-extract: |
42 |
post-extract: |
|
|
43 |
${MV} ${WRKDIR}/OrthancPostgresql-${PORTVERSION} ${WRKSRC} |
44 |
${MKDIR} ${WRKSRC}/PostgreSQL/ThirdPartyDownloads |
44 |
${MKDIR} ${WRKSRC}/PostgreSQL/ThirdPartyDownloads |
45 |
${CP} ${DISTDIR}/${DIST_SUBDIR}/e2fsprogs-1.44.5.tar.gz ${WRKSRC}/PostgreSQL/ThirdPartyDownloads |
45 |
${CP} ${DISTDIR}/${DIST_SUBDIR}/e2fsprogs-1.44.5.tar.gz ${WRKSRC}/PostgreSQL/ThirdPartyDownloads |
46 |
${CP} ${DISTDIR}/${DIST_SUBDIR}/Orthanc-1.9.3.tar.gz ${WRKSRC}/PostgreSQL/ThirdPartyDownloads |
46 |
${CP} ${DISTDIR}/${DIST_SUBDIR}/Orthanc-1.12.1.tar.gz ${WRKSRC}/PostgreSQL/ThirdPartyDownloads |
47 |
${TAR} -C ${WRKSRC}/PostgreSQL/ThirdPartyDownloads -xf ${WRKSRC}/PostgreSQL/ThirdPartyDownloads/Orthanc-1.9.3.tar.gz |
47 |
${TAR} -C ${WRKSRC}/PostgreSQL/ThirdPartyDownloads -xf ${WRKSRC}/PostgreSQL/ThirdPartyDownloads/Orthanc-1.12.1.tar.gz |
48 |
|
48 |
|
49 |
.include <bsd.port.mk> |
49 |
.include <bsd.port.mk> |