aboutsummaryrefslogtreecommitdiffstats
path: root/security/pam_pop3/Makefile
blob: 8b8ac0cb876f240f0784094e9381f845792bcc2e (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
# 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
CATEGORIES= security
MASTER_SITES=   http://shum.huji.ac.il/~schapiro/linux/pam_pop3/

MAINTAINER= gslin@ccca.nctu.edu.tw

WRKSRC=     ${WRKDIR}/${PORTNAME}

do-build:
    ${CC} ${CFLAGS} -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_PROGRAM} ${WRKSRC}/${PORTNAME}.so ${PREFIX}/lib
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>