aboutsummaryrefslogtreecommitdiffstats
path: root/security/pamsfs/Makefile
blob: e679d96378f0a26c6259746caa473a97fbea3b19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection Makefile for:    pamsfs
# Date created:             2005-09-13
# Whom:                 David Thiel <lx@redundancy.redundancy.org>
#
# $FreeBSD$
#

PORTNAME=   pamsfs
PORTVERSION=    0.1b
CATEGORIES= security
MASTER_SITES=   ftp://ftp.codecobra.com/pamsfs/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-src

MAINTAINER= lx@redundancy.redundancy.org
COMMENT=    A PAM module to mount SFS home directories

BUILD_DEPENDS=  sfskey:${PORTSDIR}/security/sfs

ALL_TARGET= pam-sfs
WRKSRC=     ${WRKDIR}/${PORTNAME}
PLIST_FILES=    lib/pam_sfs.so
PORTDOCS=   README

pre-build:
    @${REINPLACE_CMD} -e "s|/usr/local/sfs-0.7.2|${PREFIX}|g" ${WRKSRC}/pam_sfs.c

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/pam_sfs.so ${PREFIX}/lib
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>