aboutsummaryrefslogtreecommitdiff
path: root/devel/judy
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2004-08-19 18:41:52 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2004-08-19 18:41:52 +0000
commitdb3b14ca74b5255eb7b044d4dcf05830c26f477f (patch)
treee08d9a6cc6cfadac1a6a8a8b41849da0607cffe3 /devel/judy
parent87fc99e551eca988937f6d831717e53b9f7208ab (diff)
downloadports-db3b14ca74b5255eb7b044d4dcf05830c26f477f.tar.gz
ports-db3b14ca74b5255eb7b044d4dcf05830c26f477f.zip
Add SHLIB_MAJOR to shared library.
Notes
Notes: svn path=/head/; revision=116718
Diffstat (limited to 'devel/judy')
-rw-r--r--devel/judy/Makefile9
-rw-r--r--devel/judy/pkg-plist1
2 files changed, 9 insertions, 1 deletions
diff --git a/devel/judy/Makefile b/devel/judy/Makefile
index cbf9f5c9ebc0..673efe7bb47c 100644
--- a/devel/judy/Makefile
+++ b/devel/judy/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Judy
PORTVERSION= 0.1.8
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://judy.sourceforge.net/downloads/
DISTNAME= ${PORTNAME}.${PORTVERSION}
@@ -59,6 +60,9 @@ MLINKS= Judy1.3x J1T.3x Judy1.3x J1S.3x Judy1.3x J1U.3x Judy1.3x J1F.3x \
JudySL_funcs.3x JudySLNext.3x JudySL_funcs.3x JudySLLast.3x \
JudySL_funcs.3x JudySLPrev.3x JudySL_funcs.3x JudySLFreeArray.3x
+SHLIB_MAJOR= 0
+PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
+
DLVDIR= ${WRKSRC}/src/bsd_ia32/product/deliver/usr
LIST_DOCS= COPYRIGHT README *.htm
@@ -70,7 +74,10 @@ post-patch:
do-install:
${INSTALL_DATA} ${DLVDIR}/include/Judy.h ${PREFIX}/include
- ${INSTALL_DATA} ${DLVDIR}/lib/libJudy.* ${PREFIX}/lib
+ ${INSTALL_DATA} ${DLVDIR}/lib/libJudy.a ${PREFIX}/lib
+ ${INSTALL_DATA} ${DLVDIR}/lib/libJudy.so \
+ ${PREFIX}/lib/libJudy.so.${SHLIB_MAJOR}
+ ${LN} -sf libJudy.so.${SHLIB_MAJOR} ${PREFIX}/lib/libJudy.so
${INSTALL_MAN} ${DLVDIR}/share/man/man3/*.3x ${MANPREFIX}/man/man3
.ifndef(NOPORTDOCS)
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
diff --git a/devel/judy/pkg-plist b/devel/judy/pkg-plist
index 9058ad67760a..99e960341eb4 100644
--- a/devel/judy/pkg-plist
+++ b/devel/judy/pkg-plist
@@ -1,6 +1,7 @@
include/Judy.h
lib/libJudy.a
lib/libJudy.so
+lib/libJudy.so.%%SHLIB_MAJOR%%
%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
%%PORTDOCS%%%%DOCSDIR%%/Judy1_3x.htm
%%PORTDOCS%%%%DOCSDIR%%/Judy1_funcs_3x.htm