aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--math/librandlib/files/Makefile.lib4
-rw-r--r--math/librandlib/pkg-plist3
-rw-r--r--math/libranlib/files/Makefile.lib4
-rw-r--r--math/libranlib/pkg-plist3
-rw-r--r--math/randlib/files/Makefile.lib4
-rw-r--r--math/randlib/pkg-plist3
6 files changed, 18 insertions, 3 deletions
diff --git a/math/librandlib/files/Makefile.lib b/math/librandlib/files/Makefile.lib
index 1ca67d34d175..2025bcecff69 100644
--- a/math/librandlib/files/Makefile.lib
+++ b/math/librandlib/files/Makefile.lib
@@ -8,4 +8,8 @@ LIB= ranlib
SRCS = com.c ranlib.c
+beforeinstall:
+ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/ranlib.h \
+ ${PREFIX}/include
+
.include <bsd.lib.mk>
diff --git a/math/librandlib/pkg-plist b/math/librandlib/pkg-plist
index 7cedf0f48287..11f25072af61 100644
--- a/math/librandlib/pkg-plist
+++ b/math/librandlib/pkg-plist
@@ -1,7 +1,8 @@
+include/ranlib.h
lib/libranlib.a
lib/libranlib.so.1.0
@exec /sbin/ldconfig -m %B
share/doc/ranlib/Basegen.c.doc
share/doc/ranlib/ranlib.c.chs
share/doc/ranlib/ranlib.c.fdoc
-@dirrm %B
+@dirrm share/doc/ranlib
diff --git a/math/libranlib/files/Makefile.lib b/math/libranlib/files/Makefile.lib
index 1ca67d34d175..2025bcecff69 100644
--- a/math/libranlib/files/Makefile.lib
+++ b/math/libranlib/files/Makefile.lib
@@ -8,4 +8,8 @@ LIB= ranlib
SRCS = com.c ranlib.c
+beforeinstall:
+ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/ranlib.h \
+ ${PREFIX}/include
+
.include <bsd.lib.mk>
diff --git a/math/libranlib/pkg-plist b/math/libranlib/pkg-plist
index 7cedf0f48287..11f25072af61 100644
--- a/math/libranlib/pkg-plist
+++ b/math/libranlib/pkg-plist
@@ -1,7 +1,8 @@
+include/ranlib.h
lib/libranlib.a
lib/libranlib.so.1.0
@exec /sbin/ldconfig -m %B
share/doc/ranlib/Basegen.c.doc
share/doc/ranlib/ranlib.c.chs
share/doc/ranlib/ranlib.c.fdoc
-@dirrm %B
+@dirrm share/doc/ranlib
diff --git a/math/randlib/files/Makefile.lib b/math/randlib/files/Makefile.lib
index 1ca67d34d175..2025bcecff69 100644
--- a/math/randlib/files/Makefile.lib
+++ b/math/randlib/files/Makefile.lib
@@ -8,4 +8,8 @@ LIB= ranlib
SRCS = com.c ranlib.c
+beforeinstall:
+ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/ranlib.h \
+ ${PREFIX}/include
+
.include <bsd.lib.mk>
diff --git a/math/randlib/pkg-plist b/math/randlib/pkg-plist
index 7cedf0f48287..11f25072af61 100644
--- a/math/randlib/pkg-plist
+++ b/math/randlib/pkg-plist
@@ -1,7 +1,8 @@
+include/ranlib.h
lib/libranlib.a
lib/libranlib.so.1.0
@exec /sbin/ldconfig -m %B
share/doc/ranlib/Basegen.c.doc
share/doc/ranlib/ranlib.c.chs
share/doc/ranlib/ranlib.c.fdoc
-@dirrm %B
+@dirrm share/doc/ranlib