summaryrefslogtreecommitdiffstats
path: root/databases/metakit
diff options
context:
space:
mode:
Diffstat (limited to 'databases/metakit')
-rw-r--r--databases/metakit/Makefile7
-rw-r--r--databases/metakit/pkg-plist4
2 files changed, 6 insertions, 5 deletions
diff --git a/databases/metakit/Makefile b/databases/metakit/Makefile
index 547f100..96ecaf7 100644
--- a/databases/metakit/Makefile
+++ b/databases/metakit/Makefile
@@ -7,6 +7,7 @@
PORTNAME= metakit
PORTVERSION= 2.4.9.2
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://www.equi4.com/pub/mk/
DISTNAME= ${PORTNAME}-${PORTVERSION}
@@ -86,10 +87,8 @@ pre-patch:
.endif
post-install:
-.if defined(METAKIT_WITH_PYTHON)
-.endif
-
-post-install:
+ ${MV} ${PREFIX}/lib/libmk4.so ${PREFIX}/lib/libmk4.so.0
+ @${LN} -sf libmk4.so.0 ${PREFIX}/lib/libmk4.so
.if defined(METAKIT_WITH_PYTHON)
@${INSTALL_PROGRAM} ${WRKSRC}/.libs/libmk4py.a ${PREFIX}/lib
@${INSTALL_PROGRAM} ${WRKSRC}/.libs/libmk4py.so ${PREFIX}/lib
diff --git a/databases/metakit/pkg-plist b/databases/metakit/pkg-plist
index 69b9db2..1d54bea 100644
--- a/databases/metakit/pkg-plist
+++ b/databases/metakit/pkg-plist
@@ -3,8 +3,10 @@ include/mk4.inl
include/mk4str.h
include/mk4str.inl
lib/libmk4.a
-lib/libmk4.so
lib/libmk4.la
+lib/libmk4.so.0
+@exec ln -s lib/libmk4.so.0 %D/lib/libmk4.so
+@unexec rm -f %D/lib/libmk4.so
%%WITH_PYTHON%%lib/libmk4py.a
%%WITH_PYTHON%%lib/libmk4py.so
%%WITH_PYTHON%%lib/%%PYTHON_VERSION%%/site-packages/Mk4py.so
OpenPOWER on IntegriCloud