diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2000-08-10 12:36:27 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2000-08-10 12:36:27 +0000 |
commit | 2fbe9aa5a586493e0e67e72c048ce796f7d53edb (patch) | |
tree | e95f50349b43c0dfaa881c71026a3c3df8a9900a /textproc/expat | |
parent | 979337d74ea3c2bf7c41b64024ac6b93c071d0ae (diff) | |
download | ports-2fbe9aa5a586493e0e67e72c048ce796f7d53edb.tar.gz ports-2fbe9aa5a586493e0e67e72c048ce796f7d53edb.zip |
Make this build and install the shared library (libexpat.so) too.
External programs/interfaces might want that.
Approved by: dirk (MAINTAINER)
Notes
Notes:
svn path=/head/; revision=31475
Diffstat (limited to 'textproc/expat')
-rw-r--r-- | textproc/expat/Makefile | 6 | ||||
-rw-r--r-- | textproc/expat/pkg-plist | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/textproc/expat/Makefile b/textproc/expat/Makefile index 5aa0ad6c36bd..a01169965a1a 100644 --- a/textproc/expat/Makefile +++ b/textproc/expat/Makefile @@ -16,11 +16,17 @@ MAINTAINER= dirk@FreeBSD.org USE_ZIP= yes +SHLIB_MAJOR= 1 + +PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}" + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xmlwf/xmlwf ${PREFIX}/bin ${MKDIR} ${PREFIX}/include/xml ${INSTALL_DATA} ${WRKSRC}/xmlparse/xmlparse.h ${PREFIX}/include/xml ${INSTALL_DATA} ${WRKSRC}/xmltok/xmltok.h ${PREFIX}/include/xml ${INSTALL_DATA} ${WRKSRC}/libexpat.a ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/libexpat.so ${PREFIX}/lib/libexpat.so.${SHLIB_MAJOR} + ${LN} -s libexpat.so.${SHLIB_MAJOR} ${PREFIX}/lib/libexpat.so .include <bsd.port.mk> diff --git a/textproc/expat/pkg-plist b/textproc/expat/pkg-plist index e8658c72b36c..9aa0f13a1918 100644 --- a/textproc/expat/pkg-plist +++ b/textproc/expat/pkg-plist @@ -2,4 +2,6 @@ bin/xmlwf include/xml/xmlparse.h include/xml/xmltok.h lib/libexpat.a +lib/libexpat.so +lib/libexpat.so.%%SHLIB_MAJOR%% @dirrm include/xml |