1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/mail/qpopper/Makefile
Maxim Sobolev 9ee8cb268e Update to 3.0.2 (repo-copied from mail/popper).
Authors or any interesting parties are welcomed to merge functionality-extending
patches from the popper 2.53 (skey support, youbin support etc).

PR:		18745
Submitted by:	Jeff Palmer <jeff@isni.net>
2000-05-31 08:55:15 +00:00

52 lines
1.2 KiB
Makefile

# New ports collection makefile for: popper 3.*
# Date created: 1 April 1995
# Whom: pst
#
# $FreeBSD$
#
PORTNAME= qpopper3
PORTVERSION= 3.0.2
CATEGORIES= mail
MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/
DISTNAME= qpopper${PORTVERSION}
MAINTAINER= jeff@isni.net
# If APOP_ONLY variable present in the environment, popper builds
# with APOP authentification only.
#
# If FULL_POPD_DEBUG variable present in the environment, popper builds
# with more verbose debugging.
OS_DEFS= -DSETPROCTITLE -DKEEP_TEMP_DROP -DBSD44_DBM \
-DNONAUTHFILE='\"/etc/ftpusers\"'
.if defined(APOP_ONLY)
OS_DEFS+= -DAPOP_ONLY
.endif
P_LIBS+= -lmd -lutil
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-apop=${PREFIX}/etc/popper/pop.auth \
--with-apopuid=pop
.if defined(FULL_POPD_DEBUG)
CONFIGURE_ARGS+=--enable-debugging
.endif
CONFIGURE_ENV= LIBS="${P_LIBS}" OS_DEFS="${OS_DEFS}"
MAN8= popauth3.8 popper3.8
post-patch:
@$(RM) -f ${WRKSRC}/popper/md5.h
do-install:
cd ${WRKSRC} && \
${INSTALL_PROGRAM} popper/popauth ${PREFIX}/bin/popauth3 && \
${INSTALL_PROGRAM} popper/popper ${PREFIX}/libexec/popper3 && \
${INSTALL_MAN} man/popauth.8 ${PREFIX}/man/man8/popauth3.8 && \
${INSTALL_MAN} man/popper.8 ${PREFIX}/man/man8/popper3.8
.include <bsd.port.mk>