diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-12-11 04:39:56 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-12-11 04:39:56 +0000 |
commit | 2ceda9bcee0b93fb274efba060fbaad8759dfb7b (patch) | |
tree | 715d33e0a340b0b9b9d614d4b0060eef85bd9043 /databases/metakit | |
parent | 13702aed32d93e4f0b3c8d86c117605aa90a963d (diff) | |
download | FreeBSD-ports-2ceda9bcee0b93fb274efba060fbaad8759dfb7b.zip FreeBSD-ports-2ceda9bcee0b93fb274efba060fbaad8759dfb7b.tar.gz |
- rename shared lib and create a symbolic link
Submitted by: osa
Diffstat (limited to 'databases/metakit')
-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 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 |