aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/expat2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/expat2/Makefile')
-rw-r--r--textproc/expat2/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/textproc/expat2/Makefile b/textproc/expat2/Makefile
index 5aa0ad6c36bd..a01169965a1a 100644
--- a/textproc/expat2/Makefile
+++ b/textproc/expat2/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>