aboutsummaryrefslogtreecommitdiff
path: root/math/dcdflib
diff options
context:
space:
mode:
Diffstat (limited to 'math/dcdflib')
-rw-r--r--math/dcdflib/Makefile9
-rw-r--r--math/dcdflib/pkg-plist2
2 files changed, 3 insertions, 8 deletions
diff --git a/math/dcdflib/Makefile b/math/dcdflib/Makefile
index d00fd3331669..47a5d518a494 100644
--- a/math/dcdflib/Makefile
+++ b/math/dcdflib/Makefile
@@ -15,9 +15,7 @@ COMMENT= Library of C Routines for Cumulative Distribution Functions
WRKSRC= ${WRKDIR}/dcdflib.c/src
-INSTALLS_SHLIB= yes
-
-.include <bsd.port.pre.mk>
+USE_LDCONFIG= yes
post-extract:
@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
@@ -29,8 +27,5 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/../doc/dcdflib.fdoc ${PREFIX}/share/doc/dcdflib
@${INSTALL_DATA} ${WRKSRC}/../README ${PREFIX}/share/doc/dcdflib
.endif
-.if ${PORTOBJFORMAT} == "aout"
- @${LN} -sf libdcdflib.so.1.1 ${PREFIX}/lib/libdcdflib.so
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/math/dcdflib/pkg-plist b/math/dcdflib/pkg-plist
index f9f25d3d5900..98b6e6d58cbb 100644
--- a/math/dcdflib/pkg-plist
+++ b/math/dcdflib/pkg-plist
@@ -2,7 +2,7 @@ include/dcdflib.h
lib/libdcdflib.a
lib/libdcdflib_p.a
lib/libdcdflib.so
-lib/libdcdflib.so.1.1
+lib/libdcdflib.so.1
share/doc/dcdflib/README
share/doc/dcdflib/dcdflib.chs
share/doc/dcdflib/dcdflib.fdoc