aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/skstream/Makefile14
-rw-r--r--net/skstream/pkg-plist2
2 files changed, 13 insertions, 3 deletions
diff --git a/net/skstream/Makefile b/net/skstream/Makefile
index 5f5c6790118d..75cfbf8ca12b 100644
--- a/net/skstream/Makefile
+++ b/net/skstream/Makefile
@@ -16,9 +16,19 @@ COMMENT= An iostream based C++ socket library
USE_GMAKE= yes
USE_GNOME= pkgconfig gnomehack
-USE_LIBTOOL_VER=15
+USE_GCC= 3.4
+USE_AUTOTOOLS= libtool:15:inc
INSTALLS_SHLIB= yes
-DOCSDIR= ${PREFIX}/share/doc/${DISTNAME}
+post-patch:
+ @${REINPLACE_CMD} -e 's| install-docdataDATA | |g' ${WRKSRC}/Makefile.in
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for docfile in README COPYING AUTHORS NEWS README.FreeSockets
+ @${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
+.endfor
+.endif
.include <bsd.port.mk>
diff --git a/net/skstream/pkg-plist b/net/skstream/pkg-plist
index f99781ce4f16..3f8d3ef5f437 100644
--- a/net/skstream/pkg-plist
+++ b/net/skstream/pkg-plist
@@ -1,4 +1,4 @@
-lib/libskstream-0.3.a
+lib/libskstream-0.3.la
lib/libskstream-0.3.so
lib/libskstream-0.3.so.3
libdata/pkgconfig/skstream-0.3.pc