1994-10-06 19:33:20 +00:00
|
|
|
# New ports collection makefile for: popper
|
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-04-13 20:01:08 +00:00
|
|
|
PORTNAME= qpopper
|
|
|
|
PORTVERSION= 2.53
|
1996-11-10 21:32:56 +00:00
|
|
|
CATEGORIES= mail
|
2000-05-23 07:11:48 +00:00
|
|
|
MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/old/
|
2000-04-13 20:01:08 +00:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
1994-11-11 01:49:26 +00:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
1995-04-02 01:13:48 +00:00
|
|
|
|
1997-10-09 02:39:58 +00:00
|
|
|
MAINTAINER= ache@freebsd.org
|
1994-10-06 19:33:20 +00:00
|
|
|
|
1998-08-04 22:45:21 +00:00
|
|
|
# Set POPD_YOUBIN_SUPPORT variable in the environment to enable
|
|
|
|
# youbin support.
|
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
|
|
|
|
1997-10-07 20:37:24 +00:00
|
|
|
O_DEFS= -DSETPROCTITLE -DKEEP_TEMP_DROP -DBSD44_DBM -DBIND43 \
|
1997-11-20 14:38:54 +00:00
|
|
|
-DBULLDB -DNONAUTHFILE='\"/etc/ftpusers\"'
|
1997-10-07 20:37:24 +00:00
|
|
|
|
|
|
|
.if !defined(APOP_ONLY)
|
|
|
|
.if exists(/usr/lib/libskey.a)
|
|
|
|
P_LIBS= -lskey
|
|
|
|
O_DEFS+= -DSKEY
|
|
|
|
.endif
|
|
|
|
.else
|
|
|
|
O_DEFS+= -DAPOP_ONLY
|
|
|
|
.endif
|
|
|
|
|
1998-08-04 22:45:21 +00:00
|
|
|
.if defined(POPD_YOUBIN_SUPPORT)
|
|
|
|
O_DEFS+= -DYOUBIN -DCALLED_FROM_POPD
|
|
|
|
.endif
|
|
|
|
|
1997-11-20 14:38:54 +00:00
|
|
|
P_LIBS+= -lmd -lutil
|
1997-10-07 20:37:24 +00:00
|
|
|
|
1997-11-20 14:38:54 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1998-07-18 21:36:45 +00:00
|
|
|
CONFIGURE_ARGS= --enable-apop=${PREFIX}/etc/popper/pop.auth \
|
1998-08-02 20:34:29 +00:00
|
|
|
--with-apopuid=pop
|
1998-08-04 22:45:21 +00:00
|
|
|
.if defined(FULL_POPD_DEBUG)
|
1998-08-02 20:34:29 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-debugging
|
|
|
|
.endif
|
1997-12-24 01:21:47 +00:00
|
|
|
CONFIGURE_ENV= LIBS="${P_LIBS}" O_DEFS="${O_DEFS}"
|
1997-10-07 20:37:24 +00:00
|
|
|
|
|
|
|
MAN8= popauth.8 popper.8
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
$(RM) ${WRKSRC}/md5.h
|
1998-08-04 22:45:21 +00:00
|
|
|
$(CP) ${FILESDIR}/sendto.c ${WRKSRC}
|
1997-10-07 20:37:24 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${INSTALL_PROGRAM} -o pop -m 4111 popauth ${PREFIX}/bin
|
|
|
|
cd ${WRKSRC} && \
|
1997-10-07 20:55:49 +00:00
|
|
|
${INSTALL_PROGRAM} popper ${PREFIX}/libexec
|
1997-10-07 20:37:24 +00:00
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${INSTALL_MAN} ${MAN8} ${PREFIX}/man/man8
|
|
|
|
|
1994-10-06 19:33:20 +00:00
|
|
|
.include <bsd.port.mk>
|