From 194550b8c16528caaffc349de2bbc95ca4d782fa Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Fri, 29 Mar 2013 18:13:31 +0000 Subject: [PATCH] Install the pkgconfig files. ok sthen@ --- net/samba/Makefile | 6 +++++- net/samba/pkg/PLIST-main | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/net/samba/Makefile b/net/samba/Makefile index 578c3ff4603..2775708e5fb 100644 --- a/net/samba/Makefile +++ b/net/samba/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.179 2013/03/28 15:26:47 brad Exp $ +# $OpenBSD: Makefile,v 1.180 2013/03/29 18:13:31 ajacoutot Exp $ SHARED_ONLY= Yes @@ -9,6 +9,7 @@ DISTNAME= samba-3.6.13 PKGNAME-main= ${DISTNAME} FULLPKGNAME-docs= ${DISTNAME:S/-/-docs-/} FULLPKGPATH-docs= net/samba,-docs +REVISION-main= 0 SHARED_LIBS= smbclient 3.0 \ smbsharemodes 1.0 \ @@ -156,6 +157,9 @@ post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/samba/pdf ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/samba/htmldocs ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/samba + ${INSTALL_DATA_DIR} ${PREFIX}/lib/pkgconfig + ${INSTALL_DATA} ${WRKSRC}/pkgconfig/*.pc \ + ${PREFIX}/lib/pkgconfig @cp -R ${WRKDIST}/examples/* ${PREFIX}/share/examples/samba @chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/examples/samba @find ${PREFIX}/share/examples/samba -type f | \ diff --git a/net/samba/pkg/PLIST-main b/net/samba/pkg/PLIST-main index ec3a3f469b9..d1e0ee001f9 100644 --- a/net/samba/pkg/PLIST-main +++ b/net/samba/pkg/PLIST-main @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST-main,v 1.23 2013/03/28 15:26:48 brad Exp $ +@comment $OpenBSD: PLIST-main,v 1.24 2013/03/29 18:13:31 ajacoutot Exp $ @conflict samba-docs-<3.6.0 @pkgpath ${BASE_PKGPATH} @pkgpath ${BASE_PKGPATH},cups @@ -35,6 +35,10 @@ include/wbclient.h @lib lib/libsmbclient.so.${LIBsmbclient_VERSION} @lib lib/libsmbsharemodes.so.${LIBsmbsharemodes_VERSION} @lib lib/libwbclient.so.${LIBwbclient_VERSION} +lib/pkgconfig/netapi.pc +lib/pkgconfig/smbclient.pc +lib/pkgconfig/smbsharemodes.pc +lib/pkgconfig/wbclient.pc lib/samba/ lib/samba/auth/ lib/samba/auth/script.so