summaryrefslogtreecommitdiffstats
path: root/mail/qpopper/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/qpopper/Makefile')
-rw-r--r--mail/qpopper/Makefile59
1 files changed, 22 insertions, 37 deletions
diff --git a/mail/qpopper/Makefile b/mail/qpopper/Makefile
index 097d8d9..f439ad5 100644
--- a/mail/qpopper/Makefile
+++ b/mail/qpopper/Makefile
@@ -1,66 +1,51 @@
-# New ports collection makefile for: popper
+# New ports collection makefile for: popper 3.*
# Date created: 1 April 1995
# Whom: pst
#
# $FreeBSD$
#
-PORTNAME= qpopper
-PORTVERSION= 2.53
+PORTNAME= qpopper3
+PORTVERSION= 3.0.2
CATEGORIES= mail
-MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/old/
-DISTNAME= ${PORTNAME}${PORTVERSION}
-EXTRACT_SUFX= .tar.Z
+MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/
+DISTNAME= qpopper${PORTVERSION}
-MAINTAINER= ache@freebsd.org
+MAINTAINER= jeff@isni.net
-# Set POPD_YOUBIN_SUPPORT variable in the environment to enable
-# youbin support.
-#
# If APOP_ONLY variable present in the environment, popper builds
# with APOP authentification only.
#
# If FULL_POPD_DEBUG variable present in the environment, popper builds
# with more verbose debugging.
-O_DEFS= -DSETPROCTITLE -DKEEP_TEMP_DROP -DBSD44_DBM -DBIND43 \
- -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
+OS_DEFS= -DSETPROCTITLE -DKEEP_TEMP_DROP -DBSD44_DBM \
+ -DNONAUTHFILE='\"/etc/ftpusers\"'
-.if defined(POPD_YOUBIN_SUPPORT)
-O_DEFS+= -DYOUBIN -DCALLED_FROM_POPD
+.if defined(APOP_ONLY)
+OS_DEFS+= -DAPOP_ONLY
.endif
-P_LIBS+= -lmd -lutil
+P_LIBS+= -lmd -lutil
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-apop=${PREFIX}/etc/popper/pop.auth \
- --with-apopuid=pop
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-apop=${PREFIX}/etc/popper/pop.auth \
+ --with-apopuid=pop
.if defined(FULL_POPD_DEBUG)
-CONFIGURE_ARGS+= --enable-debugging
+CONFIGURE_ARGS+=--enable-debugging
.endif
-CONFIGURE_ENV= LIBS="${P_LIBS}" O_DEFS="${O_DEFS}"
+CONFIGURE_ENV= LIBS="${P_LIBS}" OS_DEFS="${OS_DEFS}"
-MAN8= popauth.8 popper.8
+MAN8= popauth3.8 popper3.8
post-patch:
- $(RM) ${WRKSRC}/md5.h
- $(CP) ${FILESDIR}/sendto.c ${WRKSRC}
+ @$(RM) -f ${WRKSRC}/popper/md5.h
do-install:
cd ${WRKSRC} && \
- ${INSTALL_PROGRAM} -o pop -m 4111 popauth ${PREFIX}/bin
- cd ${WRKSRC} && \
- ${INSTALL_PROGRAM} popper ${PREFIX}/libexec
- cd ${WRKSRC} && \
- ${INSTALL_MAN} ${MAN8} ${PREFIX}/man/man8
+ ${INSTALL_PROGRAM} popper/popauth ${PREFIX}/bin/popauth3 && \
+ ${INSTALL_PROGRAM} popper/popper ${PREFIX}/libexec/popper3 && \
+ ${INSTALL_MAN} man/popauth.8 ${PREFIX}/man/man8/popauth3.8 && \
+ ${INSTALL_MAN} man/popper.8 ${PREFIX}/man/man8/popper3.8
.include <bsd.port.mk>
OpenPOWER on IntegriCloud