1994-10-06 19:33:20 +00:00
|
|
|
# New ports collection makefile for: popper
|
1997-10-07 20:37:24 +00:00
|
|
|
# Version required: 2.4b2
|
1995-04-02 01:13:48 +00:00
|
|
|
# Date created: 1 April 1995
|
1994-10-06 19:33:20 +00:00
|
|
|
# Whom: pst
|
|
|
|
#
|
1997-10-09 02:39:58 +00:00
|
|
|
# $Id: Makefile,v 1.18 1997/10/08 09:05:11 ache Exp $
|
1994-10-06 19:33:20 +00:00
|
|
|
#
|
|
|
|
|
1997-10-07 20:37:24 +00:00
|
|
|
DISTNAME= qpopper2.4b2
|
|
|
|
PKGNAME= qpopper-2.4b2
|
1996-11-10 21:32:56 +00:00
|
|
|
CATEGORIES= mail
|
1997-04-23 04:27:26 +00:00
|
|
|
MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/
|
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
|
|
|
|
1997-04-02 01:38:30 +00:00
|
|
|
#
|
|
|
|
# If APOP_ONLY variable present in the environment, popper builds
|
|
|
|
# with APOP authentification only
|
|
|
|
#
|
|
|
|
|
1997-10-07 20:37:24 +00:00
|
|
|
O_DEFS= -DSETPROCTITLE -DKEEP_TEMP_DROP -DBSD44_DBM -DBIND43 \
|
|
|
|
-DAPOP='\"'${PREFIX}'/etc/popper/pop.auth\"' \
|
|
|
|
-DPOPUID='\"pop\"' \
|
|
|
|
-DNONAUTHFILE='\"/etc/ftpusers\"'
|
|
|
|
|
|
|
|
.if !defined(APOP_ONLY)
|
|
|
|
.if exists(/usr/lib/libskey.a)
|
|
|
|
P_LIBS= -lskey
|
|
|
|
O_DEFS+= -DSKEY
|
|
|
|
.endif
|
|
|
|
.else
|
|
|
|
O_DEFS+= -DAPOP_ONLY
|
|
|
|
.endif
|
|
|
|
|
|
|
|
P_LIBS+= -lmd -lcrypt -lutil
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV+= LIBS="${P_LIBS}" O_DEFS="${O_DEFS}"
|
|
|
|
|
|
|
|
MAN8= popauth.8 popper.8
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
$(RM) ${WRKSRC}/md5.h
|
|
|
|
|
|
|
|
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>
|