aboutsummaryrefslogtreecommitdiff
path: root/mail/qpopper/Makefile
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2000-10-11 14:08:28 +0000
committerKevin Lo <kevlo@FreeBSD.org>2000-10-11 14:08:28 +0000
commitefad80277b512a0451e54308f2f56760354f41f6 (patch)
tree9f3a00ee364ca7152da8e08fd5f0eae53e98bcce /mail/qpopper/Makefile
parentb5b364180c9e5062881850ca24a875d2693dca69 (diff)
downloadports-efad80277b512a0451e54308f2f56760354f41f6.tar.gz
ports-efad80277b512a0451e54308f2f56760354f41f6.zip
Notes
Diffstat (limited to 'mail/qpopper/Makefile')
-rw-r--r--mail/qpopper/Makefile41
1 files changed, 18 insertions, 23 deletions
diff --git a/mail/qpopper/Makefile b/mail/qpopper/Makefile
index 553186328385..52064304c055 100644
--- a/mail/qpopper/Makefile
+++ b/mail/qpopper/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: qpopper 3.1.b5
+# New ports collection makefile for: qpopper
# Date created: Di 18 Jul 2000 22:36:34 CEST
# Whom: alex
#
@@ -6,43 +6,38 @@
#
PORTNAME= qpopper
-PORTVERSION= 3.1.f1
+PORTVERSION= 3.1
CATEGORIES= mail
-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/}
+MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/ \
+ ftp://ftp.gmxuk.net/pub/qpopper/ \
+ ftp://sunsite.doc.ic.ac.uk/Mirrors/ftp.qualcomm.com/eudora/servers/unix/popper/ \
+ ftp://ftp.kracked.com/pub/qpopper/
+DISTNAME= ${PORTNAME}${PORTVERSION}
-MAINTAINER= ports@freebsd.org
+MAINTAINER= ports@FreeBSD.org
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-apop=${PREFIX}/etc/qpopper/pop.auth
-
-O_DEFS= -DSETPROCTITLE -DKEEP_TEMP_DROP -DBSD44_DBM -DBIND43 \
- -DBULLDB -DNONAUTHFILE='\"/etc/ftpusers\"'
-P_LIBS+= -lmd -lutil
+CONFIGURE_ENV= LIBS="-lmd -lutil"
+CONFIGURE_ARGS= --enable-apop=${PREFIX}/etc/qpopper/pop.auth \
+ --enable-nonauth-file=/etc/ftpusers \
+ --enable-bulldb --enable-keep-temp-drop
# Set FULL_POPD_DEBUG for debug-mode. See also -d option to popper
.if defined(FULL_POPD_DEBUG)
CONFIGURE_ARGS+=--enable-debugging
.endif
-CONFIGURE_ENV= LIBS="${P_LIBS}" O_DEFS="${O_DEFS}"
-
MAN8= popauth.8 qpopper.8
post-patch:
- ${PERL} -pi -e 's:!!PREFIX!!:${PREFIX}$$1:g' ${WRKSRC}/man/*
+ @${PERL} -pi -e "s|!!PREFIX!!|${PREFIX}|g" ${WRKSRC}/man/*
do-install:
- cd ${WRKSRC} && \
- ${INSTALL_PROGRAM} popper/popauth ${PREFIX}/bin/ && \
- ${INSTALL_PROGRAM} popper/popper ${PREFIX}/libexec/qpopper && \
- ${INSTALL_MAN} man/popauth.8 ${PREFIX}/man/man8/ && \
- ${INSTALL_MAN} man/popper.8 ${PREFIX}/man/man8/qpopper.8
-
-post-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/popper/popauth ${PREFIX}/bin/popauth
+ ${LN} -sf popauth ${PREFIX}/bin/apopauth
+ ${INSTALL_PROGRAM} ${WRKSRC}/popper/popper ${PREFIX}/libexec/qpopper
+ ${INSTALL_MAN} ${WRKSRC}/man/popauth.8 ${PREFIX}/man/man8/popauth.8
+ ${INSTALL_MAN} ${WRKSRC}/man/popper.8 ${PREFIX}/man/man8/qpopper.8
@${SED} -e "s:/usr/local:${PREFIX}:" ${PKGMESSAGE}
.include <bsd.port.mk>