65a99e72a5
With hat: perl@ Sponsored by: Absolight
29 lines
848 B
Makefile
29 lines
848 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
|
|
|
|
LIB_DEPENDS= libsmbclient.so:${PORTSDIR}/net/samba-libsmbclient
|
|
BUILD_DEPENDS= p5-Test-Simple>=0:${PORTSDIR}/devel/p5-Test-Simple
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -i '' -e 's!%%LOCALBASE%%!${LOCALBASE}!g' \
|
|
${WRKSRC}/Makefile.PL
|
|
|
|
post-install:
|
|
${CHMOD} u+w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Filesys/SmbClient/SmbClient.so
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Filesys/SmbClient/SmbClient.so
|
|
${CHMOD} u-w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Filesys/SmbClient/SmbClient.so
|
|
|
|
.include <bsd.port.mk>
|