diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2006-07-02 05:09:15 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2006-07-02 05:09:15 +0000 |
commit | 7faf9394e3b40b9561762632b02bdf48a1667df2 (patch) | |
tree | 89a7fc2cf723d92cfb238a2589a20dca80b35a56 /mail/mdpop3d/Makefile | |
parent | b437d075f7241bd1b88d24527480d899b883da9f (diff) | |
download | ports-7faf9394e3b40b9561762632b02bdf48a1667df2.tar.gz ports-7faf9394e3b40b9561762632b02bdf48a1667df2.zip |
Notes
Diffstat (limited to 'mail/mdpop3d/Makefile')
-rw-r--r-- | mail/mdpop3d/Makefile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/mail/mdpop3d/Makefile b/mail/mdpop3d/Makefile new file mode 100644 index 000000000000..6342ddc3f83a --- /dev/null +++ b/mail/mdpop3d/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: mdpop3d +# Date created: 2 July 2006 +# Whom: Alexander Logvinov <info@logvinov.com> +# +# $FreeBSD$ + +PORTNAME= mdpop3d +PORTVERSION= 0.97 +CATEGORIES= mail +MASTER_SITES= ftp://ftp.corpit.ru/home/mjt/mdpop3d/ +DISTNAME= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= lightsquid@logvinov.com +COMMENT= A simple and small POP3 daemon implementation with Maildir support + +MAN8= mdpop3d.8 +MANCOMPRESSED= no + +OPTIONS= PAM "Build with PAM support" off \ + APOP "Build with APOP command support (requires PAM)" off + +.include <bsd.port.pre.mk> + +post-patch: + @${REINPLACE_CMD} -e 's|LIBS = -lpam -ldl|LIBS = -lpam|' \ + ${WRKSRC}/Makefile +.if defined(WITHOUT_PAM) + @${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 defined(WITHOUT_APOP) + @${REINPLACE_CMD} -e 's|OPTS = -DUSE_APOP|#OPTS = -DUSE_APOP|' \ + ${WRKSRC}/Makefile +.endif + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/libexec + ${INSTALL_MAN} ${WRKSRC}/mdpop3d.8 ${PREFIX}/man/man8 + +.include <bsd.port.post.mk> |