2000-07-18 21:27:21 +00:00
|
|
|
# New ports collection makefile for: qpopper 3.1.b5
|
|
|
|
# Date created: Di 18 Jul 2000 22:36:34 CEST
|
|
|
|
# Whom: alex
|
1994-10-06 19:33:20 +00:00
|
|
|
#
|
1999-08-25 06:51:17 +00:00
|
|
|
# $FreeBSD$
|
1994-10-06 19:33:20 +00:00
|
|
|
#
|
|
|
|
|
2000-07-18 21:27:21 +00:00
|
|
|
PORTNAME= qpopper
|
2000-10-05 18:07:01 +00:00
|
|
|
PORTVERSION= 3.1.f1
|
1996-11-10 21:32:56 +00:00
|
|
|
CATEGORIES= mail
|
2000-10-05 18:07:01 +00:00
|
|
|
MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/beta/ \
|
|
|
|
ftp://ftp.gmxuk.net/pub/qpopper/beta/ \
|
|
|
|
ftp://sunsite.doc.ic.ac.uk/Mirrors/ftp.qualcomm.com/eudora/servers/unix/popper/beta/ \
|
|
|
|
ftp://ftp.kracked.com/pub/qpopper/beta/
|
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/.f/fc/}
|
1995-04-02 01:13:48 +00:00
|
|
|
|
2000-07-18 21:27:21 +00:00
|
|
|
MAINTAINER= ports@freebsd.org
|
1994-10-06 19:33:20 +00:00
|
|
|
|
2000-07-18 21:27:21 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2000-07-19 07:31:26 +00:00
|
|
|
CONFIGURE_ARGS= --enable-apop=${PREFIX}/etc/qpopper/pop.auth
|
1998-08-04 22:45:21 +00:00
|
|
|
|
2000-07-18 21:27:21 +00:00
|
|
|
O_DEFS= -DSETPROCTITLE -DKEEP_TEMP_DROP -DBSD44_DBM -DBIND43 \
|
|
|
|
-DBULLDB -DNONAUTHFILE='\"/etc/ftpusers\"'
|
|
|
|
P_LIBS+= -lmd -lutil
|
1997-10-07 20:37:24 +00:00
|
|
|
|
2000-07-18 21:27:21 +00:00
|
|
|
# Set FULL_POPD_DEBUG for debug-mode. See also -d option to popper
|
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
|
1997-10-07 20:37:24 +00:00
|
|
|
|
2000-07-18 21:27:21 +00:00
|
|
|
CONFIGURE_ENV= LIBS="${P_LIBS}" O_DEFS="${O_DEFS}"
|
1997-10-07 20:37:24 +00:00
|
|
|
|
2000-10-05 18:07:01 +00:00
|
|
|
MAN8= popauth.8 qpopper.8
|
1997-10-07 20:37:24 +00:00
|
|
|
|
2000-07-19 07:31:26 +00:00
|
|
|
post-patch:
|
2000-10-05 18:07:01 +00:00
|
|
|
${PERL} -pi -e 's:!!PREFIX!!:${PREFIX}$$1:g' ${WRKSRC}/man/*
|
2000-07-19 07:31:26 +00:00
|
|
|
|
|
|
|
do-install:
|
2000-07-18 21:27:21 +00:00
|
|
|
cd ${WRKSRC} && \
|
2000-10-05 18:07:01 +00:00
|
|
|
${INSTALL_PROGRAM} popper/popauth ${PREFIX}/bin/ && \
|
2000-07-19 07:31:26 +00:00
|
|
|
${INSTALL_PROGRAM} popper/popper ${PREFIX}/libexec/qpopper && \
|
2000-10-05 18:07:01 +00:00
|
|
|
${INSTALL_MAN} man/popauth.8 ${PREFIX}/man/man8/ && \
|
2000-07-19 07:31:26 +00:00
|
|
|
${INSTALL_MAN} man/popper.8 ${PREFIX}/man/man8/qpopper.8
|
2000-07-18 21:27:21 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${SED} -e "s:/usr/local:${PREFIX}:" ${PKGMESSAGE}
|
1997-10-07 20:37:24 +00:00
|
|
|
|
1994-10-06 19:33:20 +00:00
|
|
|
.include <bsd.port.mk>
|