2000-05-31 04:55:15 -04:00
|
|
|
# New ports collection makefile for: popper 3.*
|
1995-04-01 20:13:48 -05:00
|
|
|
# Date created: 1 April 1995
|
1994-10-06 15:33:20 -04:00
|
|
|
# Whom: pst
|
|
|
|
#
|
1999-08-25 02:51:17 -04:00
|
|
|
# $FreeBSD$
|
1994-10-06 15:33:20 -04:00
|
|
|
#
|
|
|
|
|
2000-05-31 04:55:15 -04:00
|
|
|
PORTNAME= qpopper3
|
|
|
|
PORTVERSION= 3.0.2
|
1996-11-10 16:32:56 -05:00
|
|
|
CATEGORIES= mail
|
2000-05-31 04:55:15 -04:00
|
|
|
MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/
|
|
|
|
DISTNAME= qpopper${PORTVERSION}
|
1995-04-01 20:13:48 -05:00
|
|
|
|
2000-05-31 04:55:15 -04:00
|
|
|
MAINTAINER= jeff@isni.net
|
1994-10-06 15:33:20 -04:00
|
|
|
|
1997-04-01 20:38:30 -05:00
|
|
|
# If APOP_ONLY variable present in the environment, popper builds
|
1998-08-04 18:45:21 -04:00
|
|
|
# with APOP authentification only.
|
1997-04-01 20:38:30 -05:00
|
|
|
#
|
1998-08-04 18:45:21 -04:00
|
|
|
# If FULL_POPD_DEBUG variable present in the environment, popper builds
|
|
|
|
# with more verbose debugging.
|
1997-04-01 20:38:30 -05:00
|
|
|
|
2000-05-31 04:55:15 -04:00
|
|
|
OS_DEFS= -DSETPROCTITLE -DKEEP_TEMP_DROP -DBSD44_DBM \
|
|
|
|
-DNONAUTHFILE='\"/etc/ftpusers\"'
|
1997-10-07 16:37:24 -04:00
|
|
|
|
2000-05-31 04:55:15 -04:00
|
|
|
.if defined(APOP_ONLY)
|
|
|
|
OS_DEFS+= -DAPOP_ONLY
|
1998-08-04 18:45:21 -04:00
|
|
|
.endif
|
|
|
|
|
2000-05-31 04:55:15 -04:00
|
|
|
P_LIBS+= -lmd -lutil
|
1997-10-07 16:37:24 -04:00
|
|
|
|
2000-05-31 04:55:15 -04:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --enable-apop=${PREFIX}/etc/popper/pop.auth \
|
|
|
|
--with-apopuid=pop
|
1998-08-04 18:45:21 -04:00
|
|
|
.if defined(FULL_POPD_DEBUG)
|
2000-05-31 04:55:15 -04:00
|
|
|
CONFIGURE_ARGS+=--enable-debugging
|
1998-08-02 16:34:29 -04:00
|
|
|
.endif
|
2000-05-31 04:55:15 -04:00
|
|
|
CONFIGURE_ENV= LIBS="${P_LIBS}" OS_DEFS="${OS_DEFS}"
|
1997-10-07 16:37:24 -04:00
|
|
|
|
2000-05-31 04:55:15 -04:00
|
|
|
MAN8= popauth3.8 popper3.8
|
1997-10-07 16:37:24 -04:00
|
|
|
|
|
|
|
post-patch:
|
2000-05-31 04:55:15 -04:00
|
|
|
@$(RM) -f ${WRKSRC}/popper/md5.h
|
1997-10-07 16:37:24 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC} && \
|
2000-05-31 04:55:15 -04:00
|
|
|
${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
|
1997-10-07 16:37:24 -04:00
|
|
|
|
1994-10-06 15:33:20 -04:00
|
|
|
.include <bsd.port.mk>
|