diff options
author | gblach <gblach@FreeBSD.org> | 2013-10-15 05:33:13 +0800 |
---|---|---|
committer | gblach <gblach@FreeBSD.org> | 2013-10-15 05:33:13 +0800 |
commit | e4b8f4992c8a16df2a1e27f5a00ba9353db30093 (patch) | |
tree | eb498c3e4fae8955210a1d5628ea24ce82b7a675 /mail/popa3d | |
parent | 368a1ca551ed622d692df0443e32d964db0dc5c6 (diff) | |
download | freebsd-ports-gnome-e4b8f4992c8a16df2a1e27f5a00ba9353db30093.tar.gz freebsd-ports-gnome-e4b8f4992c8a16df2a1e27f5a00ba9353db30093.tar.zst freebsd-ports-gnome-e4b8f4992c8a16df2a1e27f5a00ba9353db30093.zip |
- Support staging
Diffstat (limited to 'mail/popa3d')
-rw-r--r-- | mail/popa3d/Makefile | 22 | ||||
-rw-r--r-- | mail/popa3d/pkg-plist | 1 |
2 files changed, 9 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 diff --git a/mail/popa3d/pkg-plist b/mail/popa3d/pkg-plist index 312808740eb0..c6e422ab2d8b 100644 --- a/mail/popa3d/pkg-plist +++ b/mail/popa3d/pkg-plist @@ -1,4 +1,5 @@ libexec/popa3d +man/man8/popa3d.8.gz %%PORTDOCS%%%%DOCSDIR%%/DESIGN %%PORTDOCS%%%%DOCSDIR%%/LICENSE %%SMTP_AFTER_POP3%%%%PORTDOCS%%%%DOCSDIR%%/POPAUTH |