aboutsummaryrefslogtreecommitdiff
path: root/mail/qpopper
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
parentb5b364180c9e5062881850ca24a875d2693dca69 (diff)
downloadports-efad80277b512a0451e54308f2f56760354f41f6.tar.gz
ports-efad80277b512a0451e54308f2f56760354f41f6.zip
Notes
Diffstat (limited to 'mail/qpopper')
-rw-r--r--mail/qpopper/Makefile41
-rw-r--r--mail/qpopper/distinfo2
-rw-r--r--mail/qpopper/pkg-plist2
3 files changed, 21 insertions, 24 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>
diff --git a/mail/qpopper/distinfo b/mail/qpopper/distinfo
index 8fae2de59811..19abf2ae638c 100644
--- a/mail/qpopper/distinfo
+++ b/mail/qpopper/distinfo
@@ -1 +1 @@
-MD5 (qpopper3.1fc1.tar.gz) = 358fe47fbf8dfa0354bc01b60ca6c6ec
+MD5 (qpopper3.1.tar.gz) = 1d4c39dd333099bd49923801ec6bfdb1
diff --git a/mail/qpopper/pkg-plist b/mail/qpopper/pkg-plist
index 6f3f63e773a2..579204f4355e 100644
--- a/mail/qpopper/pkg-plist
+++ b/mail/qpopper/pkg-plist
@@ -1,4 +1,6 @@
bin/popauth
+@unexec rm -f %D/bin/apopauth
+@exec ln -sf popauth %D/bin/apopauth
libexec/qpopper
@dirrm etc/qpopper
@exec mkdir -p %D/etc/qpopper && chown pop.daemon %D/etc/qpopper && chmod 700 %D/etc/qpopper