2000-10-11 14:08:28 +00:00
|
|
|
# New ports collection makefile for: qpopper
|
2000-11-01 10:20:38 +00:00
|
|
|
# Date created: 1 April 1995
|
|
|
|
# Whom: pst
|
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
|
2001-02-05 15:11:27 +00:00
|
|
|
PORTVERSION= 3.1.2
|
2001-02-10 05:25:52 +00:00
|
|
|
PORTREVISION= 1
|
|
|
|
CATEGORIES= mail ipv6
|
2000-10-11 14:08:28 +00:00
|
|
|
MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/ \
|
2001-02-22 02:49:48 +00:00
|
|
|
ftp://sunsite.doc.ic.ac.uk/Mirrors/ftp.qualcomm.com/eudora/servers/unix/popper/
|
2000-10-11 14:08:28 +00:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
1995-04-02 01:13:48 +00:00
|
|
|
|
2001-02-10 05:25:52 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 400014
|
|
|
|
PATCH_SITES= http://www.imasy.or.jp/~ume/ipv6/
|
|
|
|
PATCHFILES= qpopper3.1.2-ipv6-20001214.diff.gz
|
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
.endif
|
|
|
|
|
2001-02-20 18:15:21 +00:00
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
2000-11-01 10:20:38 +00:00
|
|
|
|
2000-07-18 21:27:21 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2000-11-01 10:20:38 +00:00
|
|
|
CONFIGURE_ENV= LIBS="-lmd -lutil" \
|
2000-12-11 03:17:04 +00:00
|
|
|
OS_DEFS="-DSETPROCTITLE ${OS_DEFS}"
|
2000-10-11 14:08:28 +00:00
|
|
|
CONFIGURE_ARGS= --enable-apop=${PREFIX}/etc/qpopper/pop.auth \
|
|
|
|
--enable-nonauth-file=/etc/ftpusers \
|
2000-11-01 10:20:38 +00:00
|
|
|
--with-apopuid=pop \
|
|
|
|
--enable-keep-temp-drop
|
1997-10-07 20:37:24 +00:00
|
|
|
|
2000-12-11 03:17:04 +00:00
|
|
|
MAN8= qpopauth.8 qpopper.8
|
|
|
|
|
|
|
|
# If APOP_ONLY variable present in the environment, qpopper builds
|
|
|
|
# with APOP authentification only.
|
|
|
|
.if defined(APOP_ONLY)
|
|
|
|
OS_DEFS+= -DAPOP_ONLY
|
1998-08-02 20:34:29 +00:00
|
|
|
.endif
|
1997-10-07 20:37:24 +00:00
|
|
|
|
2000-12-11 03:17:04 +00:00
|
|
|
# If FULL_POPD_DEBUG variable present in the environment, qpopper builds
|
|
|
|
# with more verbose debugging. See also -d option to qpopper
|
|
|
|
.if defined(FULL_POPD_DEBUG)
|
|
|
|
CONFIGURE_ARGS+= --enable-debugging
|
|
|
|
.endif
|
1997-10-07 20:37:24 +00:00
|
|
|
|
2000-07-19 07:31:26 +00:00
|
|
|
post-patch:
|
2000-12-11 03:17:04 +00:00
|
|
|
@${RM} -f ${WRKSRC}/popper/md5.h
|
2000-11-01 10:20:38 +00:00
|
|
|
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/man/*
|
2000-07-19 07:31:26 +00:00
|
|
|
|
|
|
|
do-install:
|
2000-12-11 03:17:04 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/popper/popauth ${PREFIX}/bin/qpopauth
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/popper/popper ${PREFIX}/libexec/qpopper
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/popauth.8 ${MANPREFIX}/man/man8/qpopauth.8
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/popper.8 ${MANPREFIX}/man/man8/qpopper.8
|
2000-11-01 10:20:38 +00:00
|
|
|
${LN} -sf ${PREFIX}/bin/qpopauth ${PREFIX}/bin/qapopauth
|
|
|
|
|
|
|
|
post-install:
|
2000-12-11 03:17:04 +00:00
|
|
|
@${SED} -e "s:/usr/local:${PREFIX}:g" ${PKGMESSAGE}
|
1997-10-07 20:37:24 +00:00
|
|
|
|
2001-02-10 05:25:52 +00:00
|
|
|
.include <bsd.port.post.mk>
|