- rename shared lib and create a symbolic link
Submitted by: osa
This commit is contained in:
parent
ed3508b899
commit
60b5076712
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=95585
2 changed files with 6 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue