2000-05-31 08:55:15 +00:00
|
|
|
# New ports collection makefile for: popper 3.*
|
1995-04-02 01:13:48 +00:00
|
|
|
# Date created: 1 April 1995
|
1994-10-06 19:33:20 +00:00
|
|
|
# Whom: pst
|
|
|
|
#
|
1999-08-25 06:51:17 +00:00
|
|
|
# $FreeBSD$
|
1994-10-06 19:33:20 +00:00
|
|
|
#
|
|
|
|
|
2000-05-31 08:55:15 +00:00
|
|
|
PORTNAME= qpopper3
|
|
|
|
PORTVERSION= 3.0.2
|
1996-11-10 21:32:56 +00:00
|
|
|
CATEGORIES= mail
|
2000-05-31 08:55:15 +00:00
|
|
|
MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/
|
|
|
|
DISTNAME= qpopper${PORTVERSION}
|
1995-04-02 01:13:48 +00:00
|
|
|
|
2000-05-31 08:55:15 +00:00
|
|
|
MAINTAINER= jeff@isni.net
|
1994-10-06 19:33:20 +00:00
|
|
|
|
1997-04-02 01:38:30 +00:00
|
|
|
# If APOP_ONLY variable present in the environment, popper builds
|
1998-08-04 22:45:21 +00:00
|
|
|
# with APOP authentification only.
|
1997-04-02 01:38:30 +00:00
|
|
|
#
|
1998-08-04 22:45:21 +00:00
|
|
|
# If FULL_POPD_DEBUG variable present in the environment, popper builds
|
|
|
|
# with more verbose debugging.
|
1997-04-02 01:38:30 +00:00
|
|
|
|
2000-05-31 08:55:15 +00:00
|
|
|
OS_DEFS= -DSETPROCTITLE -DKEEP_TEMP_DROP -DBSD44_DBM \
|
|
|
|
-DNONAUTHFILE='\"/etc/ftpusers\"'
|
1997-10-07 20:37:24 +00:00
|
|
|
|
2000-05-31 08:55:15 +00:00
|
|
|
.if defined(APOP_ONLY)
|
|
|
|
OS_DEFS+= -DAPOP_ONLY
|
1998-08-04 22:45:21 +00:00
|
|
|
.endif
|
|
|
|
|
2000-05-31 08:55:15 +00:00
|
|
|
P_LIBS+= -lmd -lutil
|
1997-10-07 20:37:24 +00:00
|
|
|
|
2000-05-31 08:55:15 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --enable-apop=${PREFIX}/etc/popper/pop.auth \
|
|
|
|
--with-apopuid=pop
|
1998-08-04 22:45:21 +00:00
|
|
|
.if defined(FULL_POPD_DEBUG)
|
2000-05-31 08:55:15 +00:00
|
|
|
CONFIGURE_ARGS+=--enable-debugging
|
1998-08-02 20:34:29 +00:00
|
|
|
.endif
|
2000-05-31 08:55:15 +00:00
|
|
|
CONFIGURE_ENV= LIBS="${P_LIBS}" OS_DEFS="${OS_DEFS}"
|
1997-10-07 20:37:24 +00:00
|
|
|
|
2000-05-31 08:55:15 +00:00
|
|
|
MAN8= popauth3.8 popper3.8
|
1997-10-07 20:37:24 +00:00
|
|
|
|
|
|
|
post-patch:
|
2000-05-31 08:55:15 +00:00
|
|
|
@$(RM) -f ${WRKSRC}/popper/md5.h
|
1997-10-07 20:37:24 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC} && \
|
2000-05-31 08:55:15 +00:00
|
|
|
${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
|
1997-10-07 20:37:24 +00:00
|
|
|
|
1994-10-06 19:33:20 +00:00
|
|
|
.include <bsd.port.mk>
|