mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
d0b4efe6dc
manpage-patch-files. However, due to an odd bug in patch(1), 2 of the 3 hunks for popper.8 fails (somehow, diff(1) thinks it is a binary file and patch cannot patch it correctly if diff is used with the -a option). So patch-ac only changes /usr/local/lib/popper to .../libexec/qpopper and doesn't neither corrects the location of sendmail nor adds the /etc/ftpusers file to the SEE ALSO section. In the Makefile, /usr/local is now replaced with PREFIX for both manpages.
48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
# New ports collection makefile for: qpopper 3.1.b5
|
|
# Date created: Di 18 Jul 2000 22:36:34 CEST
|
|
# Whom: alex
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= qpopper
|
|
PORTVERSION= 3.1.b5
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/beta/
|
|
DISTNAME= ${PORTNAME}3.1b5
|
|
|
|
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
|
|
|
|
# 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= qpopauth.8 qpopper.8
|
|
|
|
post-patch:
|
|
cd ${WRKSRC} && \
|
|
${PERL} -pi.orig -e "s:/usr/local:${PREFIX}:g" \
|
|
man/popper.8 man/popauth.8
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && \
|
|
${INSTALL_PROGRAM} popper/popauth ${PREFIX}/bin/qpopauth && \
|
|
${INSTALL_PROGRAM} popper/popper ${PREFIX}/libexec/qpopper && \
|
|
${INSTALL_MAN} man/popauth.8 ${PREFIX}/man/man8/qpopauth.8 && \
|
|
${INSTALL_MAN} man/popper.8 ${PREFIX}/man/man8/qpopper.8
|
|
|
|
post-install:
|
|
@${SED} -e "s:/usr/local:${PREFIX}:" ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|