diff options
author | Grzegorz Blach <gblach@FreeBSD.org> | 2013-10-14 21:33:13 +0000 |
---|---|---|
committer | Grzegorz Blach <gblach@FreeBSD.org> | 2013-10-14 21:33:13 +0000 |
commit | 8b79d62003a148de63a45224726de1c092f3be9f (patch) | |
tree | eb498c3e4fae8955210a1d5628ea24ce82b7a675 /mail/popa3d/Makefile | |
parent | 64272167491fdbe41773cbe932f7659bf09045e6 (diff) | |
download | ports-8b79d62003a148de63a45224726de1c092f3be9f.tar.gz ports-8b79d62003a148de63a45224726de1c092f3be9f.zip |
Notes
Diffstat (limited to 'mail/popa3d/Makefile')
-rw-r--r-- | mail/popa3d/Makefile | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/mail/popa3d/Makefile b/mail/popa3d/Makefile index 5961975be404..34573cf7586e 100644 --- a/mail/popa3d/Makefile +++ b/mail/popa3d/Makefile @@ -13,10 +13,10 @@ MAINTAINER= gblach@FreeBSD.org COMMENT= Secure, performance, tiny POP3 daemon ALL_TARGET= popa3d -MAN8= popa3d.8 PLIST= ${WRKDIR}/.PLIST.more CFLAGS+= -DPREFIX=${PREFIX} UNIQUENAME= ${.CURDIR:T} +NEED_ROOT= yes OPTIONS_DEFINE= SMTP_AFTER_POP3 STANDALONE_POP3 SETPROCTITLE NO_OPTIONS_SORT=yes @@ -24,7 +24,6 @@ SMTP_AFTER_POP3_DESC=Enable SMTP-after-POP support STANDALONE_POP3_DESC=Enable standalone server mode SETPROCTITLE_DESC=Enable setproctitle() support -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MSTANDALONE_POP3} @@ -85,26 +84,21 @@ pre-install: do-install: ${INSTALL} ${COPY} -o root -g wheel -m 500 \ - ${WRKSRC}/popa3d ${PREFIX}/libexec/popa3d - ${INSTALL_MAN} ${WRKSRC}/popa3d.8 ${MANPREFIX}/man/man8/ + ${WRKSRC}/popa3d ${STAGEDIR}${PREFIX}/libexec/popa3d + ${INSTALL_MAN} ${WRKSRC}/popa3d.8 ${STAGEDIR}${MANPREFIX}/man/man8/ .if ${PORT_OPTIONS:MSMTP_AFTER_POP3} && !defined(WITHOUT_POPAUTH_M4) - ${INSTALL_DATA} ${FILESDIR}/popauth.m4 ${CFDIR}/hack/ + ${INSTALL_DATA} ${FILESDIR}/popauth.m4 ${STAGEDIR}${CFDIR}/hack/ .endif .if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/DESIGN ${DOCSDIR}/ - ${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR}/ + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/DESIGN ${STAGEDIR}${DOCSDIR}/ + ${INSTALL_MAN} ${WRKSRC}/LICENSE ${STAGEDIR}${DOCSDIR}/ .if ${PORT_OPTIONS:MSMTP_AFTER_POP3} - ${INSTALL_DATA} ${FILESDIR}/POPAUTH ${DOCSDIR}/ + ${INSTALL_DATA} ${FILESDIR}/POPAUTH ${STAGEDIR}${DOCSDIR}/ .endif .endif -post-install: -.if ! ${PORT_OPTIONS:MSTANDALONE_POP3} - @ ${CAT} ${PKGMESSAGE} -.endif - .if exists(${LOCALBASE}/share/sendmail/cf/mailer/uucp.m4) CFDIR= ${LOCALBASE}/share/sendmail/cf .else |