freebsd-ports/net/p5-Filesys-SmbClient/Makefile
Antoine Brodin 7cfe69b584 - Add USES=samba to handle dependency on samba
Valid ARGS:  build, env, lib, run (default: build,run)
- Add SAMBA_DEFAULT to bsd.default-versions.mk (default: 4.3)
- Remove obsolete samba36 ports
- Modify samba4x ports to install libsmbclient
- Convert the ports tree to USES=samba

Reviewed by:	mat
Differential Revision:	https://reviews.freebsd.org/D8919
2017-03-21 21:59:31 +00:00

31 lines
745 B
Makefile

# Created by: Erwin Lansing <erwin@FreeBSD.org>
# $FreeBSD$
PORTNAME= Filesys-SmbClient
PORTVERSION= 3.2
PORTREVISION= 2
CATEGORIES= net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Interface for access Samba filesystem with libsmclient.so
BROKEN= no member named close in struct _SMBCCTX
BUILD_DEPENDS= p5-Test-Simple>=0:devel/p5-Test-Simple
USES= perl5 samba:lib
USE_PERL5= configure
post-patch:
@${REINPLACE_CMD} -i '' -e 's!%%LOCALBASE%%!${LOCALBASE}!g' \
-e 's!%%SAMBAINCLUDES%%!${SAMBAINCLUDES}!g' \
-e 's!%%SAMBALIBS%%!${SAMBALIBS}!g' \
${WRKSRC}/Makefile.PL
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Filesys/SmbClient/SmbClient.so
.include <bsd.port.mk>