head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2026.05.09.16.19.56;	author vins;	state Exp;
branches;
next	1.1;
commitid	oxyJ1pyDkd5eQ9FG;

1.1
date	2026.05.01.19.43.30;	author vins;	state Exp;
branches;
next	;
commitid	4FASsrb0KTHCd9EG;


desc
@@


1.2
log
@net/libnfs: fix build on SunOS
@
text
@# $NetBSD: Makefile,v 1.1 2026/05/01 19:43:30 vins Exp $

DISTNAME=	libnfs-6.0.2
PKGREVISION=	1
CATEGORIES=	net filesystems
MASTER_SITES=	${MASTER_SITE_GITHUB:=sahlberg/}
GITHUB_TAG=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/sahlberg/libnfs
COMMENT=	NFS client library
# LGPL applies to the library itself, while GPL applies to the utilities.
# BSD applies to other misc files.
LICENSE=	gnu-lgpl-v2.1 AND gnu-gpl-v3 AND 2-clause-bsd

PKGCONFIG_OVERRIDE=	cmake/libnfs.pc.cmake

LDFLAGS.SunOS+=		-lsocket

CMAKE_CONFIGURE_ARGS+=	-DCMAKE_BUILD_TYPE=Release \
			-DCMAKE_INSTALL_PREFIX='${PREFIX}' \
			-DINSTALL_MAN_DIR:PATH='${PREFIX}/${PKGMANDIR}' \
			-DENABLE_UTILS:BOOL=ON \
			-DENABLE_DOCUMENTATION:BOOL=ON

.include "options.mk"

.include "../../devel/cmake/build.mk"
.include "../../mk/bsd.pkg.mk"
@


1.1
log
@net/libnfs: Import libnfs-6.0.2

Packaged in wip by PHO, with some modifications by vins.

LIBNFS is a client library for accessing NFS shares over a network.

LIBNFS offers three different APIs, for different use:
1, RAW: A fully async low level RPC library for NFS protocols
2, NFS ASYNC: A fully asynchronous library for high level vfs functions
3, NFS SYNC: A synchronous library for high level vfs functions
@
text
@d1 1
a1 1
# $NetBSD$
d4 1
d18 2
@

