1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/mail/mdpop3d/Makefile
Jimmy Olgeni 168f57451a Remove indefinite articles and trailing periods from COMMENT, plus minor
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Category M.

CR:		D306
Approved by:	portmgr (bapt)
2014-07-07 15:31:01 +00:00

40 lines
1.1 KiB
Makefile

# Created by: Alexander Logvinov <info@logvinov.com>
# $FreeBSD$
PORTNAME= mdpop3d
PORTVERSION= 0.97
CATEGORIES= mail
MASTER_SITES= ftp://ftp.corpit.ru/home/mjt/mdpop3d/
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple and small POP3 daemon implementation with Maildir support
PLIST_FILES= libexec/mdpop3d man/man8/mdpop3d.8.gz
OPTIONS_DEFINE= PAM APOP
APOP_DESC= Build with APOP command support (requires PAM)
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|LIBS = -lpam -ldl|LIBS = -lpam|;/^CC[[:blank:]]*=/d' \
${WRKSRC}/Makefile
.if ! ${PORT_OPTIONS:MPAM}
@${REINPLACE_CMD} -e 's|LIBS = -lpam|LIBS = -lcrypt|' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|DEFS = -DUSE_PAM|#DEFS = -DUSE_PAM|' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|OPTS = -DUSE_APOP|#OPTS = -DUSE_APOP|' \
${WRKSRC}/Makefile
.endif
.if ! ${PORT_OPTIONS:MAPOP}
@${REINPLACE_CMD} -e 's|OPTS = -DUSE_APOP|#OPTS = -DUSE_APOP|' \
${WRKSRC}/Makefile
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/libexec
${INSTALL_MAN} ${WRKSRC}/mdpop3d.8 ${STAGEDIR}${MANPREFIX}/man/man8
.include <bsd.port.mk>