mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# New ports collection makefile for: smb_auth
|
|
# Date created: 13 January 2000
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= smb_auth
|
|
PORTVERSION= 0.05
|
|
PORTREVISION= 5
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= dinoex
|
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
|
COMMENT= A proxy authentication module against an SMB server
|
|
|
|
.if !defined(WITHOUT_REGISTER_SAMBA)
|
|
RUN_DEPENDS= ${LOCALBASE}/sbin/smbd:${PORTSDIR}/${SAMBA_PORT}
|
|
.endif
|
|
|
|
ALL_TARGET= smb_auth
|
|
SAMBA_PORT?= net/samba36
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/smb_auth ${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/smb_auth.sh ${PREFIX}/bin
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${FILESDIR}/README ${DOCSDIR}/
|
|
.endif
|
|
|
|
post-install:
|
|
@${ECHO_MSG}
|
|
@${ECHO_MSG} ' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++'
|
|
@${ECHO_MSG} ' Refer to ${PREFIX}/share/doc/smb_auth/README on how to configure smb_auth.'
|
|
@${ECHO_MSG}
|
|
@${ECHO_MSG} ' NOTE: For smb_auth to work properly you must set debug level>0 in your'
|
|
@${ECHO_MSG} ' smb.conf file.'
|
|
@${ECHO_MSG} ' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++'
|
|
@${ECHO_MSG}
|
|
|
|
.include <bsd.port.mk>
|