aboutsummaryrefslogtreecommitdiff
path: root/security/pam_smb/Makefile
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2003-08-27 13:41:30 +0000
committerOliver Braun <obraun@FreeBSD.org>2003-08-27 13:41:30 +0000
commitd8d44c14b63f0d9bec5ef62e127634b3c6254436 (patch)
tree6f0c128298be21e9d790612b502ca9d90d5bf28c /security/pam_smb/Makefile
parent74dfa2fab1701778d4a16a275a6fcacdea9bd175 (diff)
downloadports-d8d44c14b63f0d9bec5ef62e127634b3c6254436.tar.gz
ports-d8d44c14b63f0d9bec5ef62e127634b3c6254436.zip
Notes
Diffstat (limited to 'security/pam_smb/Makefile')
-rw-r--r--security/pam_smb/Makefile30
1 files changed, 16 insertions, 14 deletions
diff --git a/security/pam_smb/Makefile b/security/pam_smb/Makefile
index 3ceb80d35e71..6c318d4340a7 100644
--- a/security/pam_smb/Makefile
+++ b/security/pam_smb/Makefile
@@ -5,23 +5,23 @@
# $FreeBSD$
PORTNAME= pam_smb
-PORTVERSION= 1.9.9
-PORTREVISION= 3
+PORTVERSION= 2.0.0.r5
CATEGORIES= security
-MASTER_SITES= http://www.csn.ul.ie/~airlied/pam_smb/devel/
+MASTER_SITES= http://samba.org/~airlied/ \
+ http://www.csn.ul.ie/~airlied/pam_smb/devel/
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/-rc/}
MAINTAINER= ports@FreeBSD.org
COMMENT= NetBIOS domain logon PAM module
-USE_AUTOCONF_VER=213
+INSTALLS_SHLIB= yes
+HAS_CONFIGURE= yes
USE_GMAKE= yes
USE_PERL5= yes
USE_REINPLACE= yes
STARTUP_SCRIPT= pam_smbd.sh.sample
-WRKSRC= ${WRKDIR}/${PORTNAME}
-
-.include <bsd.port.pre.mk>
+WRKSRC= ${WRKDIR}/${DISTNAME}
post-patch:
@${REINPLACE_CMD} -e s,%%PREFIX%%,${PREFIX}, ${WRKSRC}/pamsmbd/pam_read_conf.c
@@ -29,12 +29,14 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pamsmbd/pamsmbd ${PREFIX}/sbin/
${INSTALL_DATA} ${WRKSRC}/pamsmbm/pam_smb_auth.so ${PREFIX}/lib/
- ${MKDIR} ${PREFIX}/share/doc/pam_smb/
- ${INSTALL_DATA} ${WRKSRC}/BUGS ${PREFIX}/share/doc/pam_smb/
- ${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/pam_smb/
- ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/pam_smb/
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/pam_smb/
- ${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/doc/pam_smb/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/BUGS ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}
+.endif
${INSTALL_DATA} ${WRKSRC}/pam_smb.conf.example ${PREFIX}/etc/
${INSTALL_DATA} ${WRKSRC}/pam_smb.conf.example2 ${PREFIX}/etc/
${INSTALL_SCRIPT} ${FILESDIR}/${STARTUP_SCRIPT} ${PREFIX}/etc/rc.d/
@@ -44,4 +46,4 @@ do-install:
post-install:
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>