aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorrobak <robak@FreeBSD.org>2015-07-06 23:51:12 +0800
committerrobak <robak@FreeBSD.org>2015-07-06 23:51:12 +0800
commit5da9100cdef1cd5b2bb1ce733bdfb6167b582c1c (patch)
tree2e0eca299b611f95edc049c36c4414d339c2665f /science
parentacd0d717c5fa6c2d7958564126a25adc467e4bd4 (diff)
downloadfreebsd-ports-gnome-5da9100cdef1cd5b2bb1ce733bdfb6167b582c1c.tar.gz
freebsd-ports-gnome-5da9100cdef1cd5b2bb1ce733bdfb6167b582c1c.tar.zst
freebsd-ports-gnome-5da9100cdef1cd5b2bb1ce733bdfb6167b582c1c.zip
science/orthanc: update 0.9.0 -> 0.9.1
- Fix pkg-plist entries PR: 201333 Submitted by: Mikhail <mp39590@gmail.com> (maintainer)
Diffstat (limited to 'science')
-rw-r--r--science/orthanc/Makefile7
-rw-r--r--science/orthanc/distinfo4
-rw-r--r--science/orthanc/pkg-plist17
3 files changed, 16 insertions, 12 deletions
diff --git a/science/orthanc/Makefile b/science/orthanc/Makefile
index 948d3be08f95..eae453aa5e4d 100644
--- a/science/orthanc/Makefile
+++ b/science/orthanc/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= orthanc
-PORTVERSION= 0.9.0
-PORTREVISION= 1
+PORTVERSION= 0.9.1
CATEGORIES= science graphics net www
MASTER_SITES= http://orthanc-server.com/downloads/get.php?path=/orthanc/:main \
http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/:mongoose
@@ -61,7 +60,7 @@ post-extract:
${MKDIR} ${WRKSRC}/ThirdPartyDownloads
${CP} ${DISTDIR}/${DIST_SUBDIR}/mongoose-3.8.tgz ${WRKSRC}/ThirdPartyDownloads
# Orthanc hardcodes /usr/local paths for libs and includes.
- ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/CMakeLists.txt
+ ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Resources/CMake/Compiler.cmake
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Resources/CMake/JsonCppConfiguration.cmake
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Resources/CMake/SQLiteConfiguration.cmake
@@ -80,7 +79,7 @@ post-install:
${MKDIR} ${STAGEDIR}${ETCDIR}
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Resources/Configuration.json
${CP} ${WRKSRC}/Resources/Configuration.json ${STAGEDIR}${ETCDIR}/orthanc.json.sample
- ${STRIP_CMD} ${STAGEDIR}${DATADIR}/plugins/libServeFolders.so.0.9.0
+ ${STRIP_CMD} ${STAGEDIR}${DATADIR}/plugins/libServeFolders.so.${PORTVERSION}
.include <bsd.port.pre.mk>
diff --git a/science/orthanc/distinfo b/science/orthanc/distinfo
index 9490d6a7dbb4..5c6fac7812e3 100644
--- a/science/orthanc/distinfo
+++ b/science/orthanc/distinfo
@@ -1,4 +1,4 @@
-SHA256 (orthanc/Orthanc-0.9.0.tar.gz) = f75f76a2aaa79951c8ece2137046f2572a91e96e31efe9e0ce99b644e4320d0a
-SIZE (orthanc/Orthanc-0.9.0.tar.gz) = 676749
+SHA256 (orthanc/Orthanc-0.9.1.tar.gz) = 96849183714c4d79feaf698be2efbd42c82e0c4b3d9103e237a0e1c7b138967e
+SIZE (orthanc/Orthanc-0.9.1.tar.gz) = 687249
SHA256 (orthanc/mongoose-3.8.tgz) = 6afc2c377614a01a24b78560a62d1316b29372afe08eae3715b56c877be71c6e
SIZE (orthanc/mongoose-3.8.tgz) = 1577314
diff --git a/science/orthanc/pkg-plist b/science/orthanc/pkg-plist
index 41fc4a029f08..f041b644e42a 100644
--- a/science/orthanc/pkg-plist
+++ b/science/orthanc/pkg-plist
@@ -1,11 +1,16 @@
-@dir(orthanc,orthanc,700) %%DATADIR%%/plugins
-@dir(orthanc,orthanc,700) /var/db/orthanc/db/db-v5
-@dir(orthanc,orthanc,700) /var/db/orthanc/db
-@dir(orthanc,orthanc,700) /var/db/orthanc
-@sample(orthanc,orthanc,600) %%ETCDIR%%/orthanc.json.sample
+@owner orthanc
+@group orthanc
+@mode 700
+@dir %%DATADIR%%/plugins
+@dir /var/db/orthanc/db/db-v5
+@dir /var/db/orthanc/db
+@dir /var/db/orthanc
+@mode 600
+@sample %%ETCDIR%%/orthanc.json.sample
+@mode
include/orthanc/OrthancCDatabasePlugin.h
include/orthanc/OrthancCPlugin.h
include/orthanc/OrthancCppDatabasePlugin.h
%%DATADIR%%/plugins/libServeFolders.so
-%%DATADIR%%/plugins/libServeFolders.so.0.9.0
+%%DATADIR%%/plugins/libServeFolders.so.0.9.1
sbin/Orthanc