25 lines
771 B
Makefile
25 lines
771 B
Makefile
# $NetBSD: Makefile,v 1.3 2005/04/11 21:14:42 tvierling Exp $
|
|
|
|
DISTNAME= pam_pop3-1.0
|
|
PKGNAME= pam-pop3-1.0
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://shum.huji.ac.il/~schapiro/linux/pam_pop3/
|
|
|
|
MAINTAINER= david@netbsd-fr.org
|
|
COMMENT= This module authenticates a user against a POP3 server
|
|
|
|
WRKSRC= ${WRKDIR}/pam_pop3
|
|
|
|
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 \
|
|
-L ${PREFIX}/lib -lpam -lcrypt
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/pam_pop3.so ${PREFIX}/lib
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pam-pop3
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/pam-pop3
|
|
|
|
.include "../../security/PAM/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|