aboutsummaryrefslogtreecommitdiffstats
path: root/security/pam_pop3/Makefile
blob: 3955714164e8021e27f46eeae0717cb4bd95ccb9 (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
# New ports collection makefile for:    pam_pop3
# Date created:             16 July 2002
# Whom:                     Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=   pam_pop3
PORTVERSION=    1.0
PORTREVISION=   1
CATEGORIES= security
MASTER_SITES=   http://shum.huji.ac.il/~schapiro/linux/pam_pop3/

MAINTAINER= ports@FreeBSD.org
COMMENT=    This module authenticates a user against a POP3 server

WRKSRC=     ${WRKDIR}/${PORTNAME}

do-build:
    ${CC} ${CFLAGS} -fpic -DPIC -Wall -c ${WRKSRC}/pam_pop3.c -o ${WRKSRC}/pam_pop3.o
    ${LD} -x --shared -o ${WRKSRC}/pam_pop3.so ${WRKSRC}/pam_pop3.o -lpam -lcrypt

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

.include <bsd.port.mk>