freebsd-ports/mail/qpopper/Makefile

55 lines
1.2 KiB
Makefile
Raw Normal View History

1994-10-06 15:33:20 -04:00
# New ports collection makefile for: popper
1998-07-02 00:09:37 -04:00
# Version required: 2.5*
1995-04-01 20:13:48 -05:00
# Date created: 1 April 1995
1994-10-06 15:33:20 -04:00
# Whom: pst
#
1998-07-18 17:36:45 -04:00
# $Id: Makefile,v 1.26 1998/07/02 04:09:24 ache Exp $
1994-10-06 15:33:20 -04:00
#
1998-07-18 17:36:45 -04:00
DISTNAME= qpopper2.53
PKGNAME= qpopper-2.53
CATEGORIES= mail
1998-06-30 22:13:58 -04:00
MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/
EXTRACT_SUFX= .tar.Z
1995-04-01 20:13:48 -05:00
MAINTAINER= ache@freebsd.org
1994-10-06 15:33:20 -04:00
#
# If APOP_ONLY variable present in the environment, popper builds
# with APOP authentification only
#
O_DEFS= -DSETPROCTITLE -DKEEP_TEMP_DROP -DBSD44_DBM -DBIND43 \
1997-11-20 09:38:54 -05:00
-DBULLDB -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
1997-11-20 09:38:54 -05:00
P_LIBS+= -lmd -lutil
1997-11-20 09:38:54 -05:00
GNU_CONFIGURE= yes
1998-07-18 17:36:45 -04:00
CONFIGURE_ARGS= --enable-apop=${PREFIX}/etc/popper/pop.auth \
1998-06-30 02:51:47 -04:00
--with-apopuid=pop --enable-debugging
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 16:55:49 -04:00
${INSTALL_PROGRAM} popper ${PREFIX}/libexec
cd ${WRKSRC} && \
${INSTALL_MAN} ${MAN8} ${PREFIX}/man/man8
1994-10-06 15:33:20 -04:00
.include <bsd.port.mk>