diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2003-12-11 04:39:56 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2003-12-11 04:39:56 +0000 |
commit | 60b507671291eb3571457547de04c9e24e2b9351 (patch) | |
tree | f5ee0ca159eb0a19a682aead76ddad6249c631fb /databases | |
parent | ed3508b899553809bacc71c325c7bdcaabc42f4f (diff) | |
download | ports-60b507671291eb3571457547de04c9e24e2b9351.tar.gz ports-60b507671291eb3571457547de04c9e24e2b9351.zip |
Notes
Diffstat (limited to 'databases')
-rw-r--r-- | databases/metakit/Makefile | 7 | ||||
-rw-r--r-- | databases/metakit/pkg-plist | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/databases/metakit/Makefile b/databases/metakit/Makefile index 547f100ee5af..96ecaf775951 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 69b9db2d29ac..1d54bea78320 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 |