diff options
author | swills <swills@FreeBSD.org> | 2014-07-08 10:47:37 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2014-07-08 10:47:37 +0800 |
commit | 8b172c1bad2813c13d995ca4650c9ec921221797 (patch) | |
tree | 83d8a1ebca07da8a3c3206f6779e8cbb68b659ad /mail/imap-uw | |
parent | ba15d5787c47ec955f19a57e81a796180fb81baa (diff) | |
download | freebsd-ports-gnome-8b172c1bad2813c13d995ca4650c9ec921221797.tar.gz freebsd-ports-gnome-8b172c1bad2813c13d995ca4650c9ec921221797.tar.zst freebsd-ports-gnome-8b172c1bad2813c13d995ca4650c9ec921221797.zip |
mail/imap-uw: support stage, use new LIB_DEPENDS format while here
PR: 191662
Submitted by: Dan Lukes <dan@obluda.cz>
Diffstat (limited to 'mail/imap-uw')
-rw-r--r-- | mail/imap-uw/Makefile | 38 | ||||
-rw-r--r-- | mail/imap-uw/pkg-plist | 5 |
2 files changed, 22 insertions, 21 deletions
diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile index 4d48d3c9ee77..9bc79c1cd3f4 100644 --- a/mail/imap-uw/Makefile +++ b/mail/imap-uw/Makefile @@ -12,22 +12,19 @@ MASTER_SITES= ftp://ftp.cac.washington.edu/imap/%SUBDIR%/ \ MASTER_SITE_SUBDIR= . old PKGNAMESUFFIX= -uw -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= University of Washington IMAP4rev1/POP2/POP3 mail servers LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt -LIB_DEPENDS= c-client4.9:${PORTSDIR}/mail/cclient +LIB_DEPENDS= libc-client4.so:${PORTSDIR}/mail/cclient DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} SUB_FILES= pkg-message MAKE_JOBS_UNSAFE= yes -MAN1= dmail.1 mailutil.1 tmail.1 -MAN8= ipopd.8 imapd.8 - ALL_TARGET= bsf # This port must have the same SSL settings as mail/cclient, which it depends on @@ -40,7 +37,6 @@ SSL_AND_PLAINTEXT_DESC= Allow plain text passwords and SSL DRAC_DESC= Dynamically open MTA for relaying NETSCAPE_BRAIN_DAMAGE_DESC= See Makefile for documentation -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MDRAC} @@ -80,22 +76,22 @@ pre-build: .endif do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/imapd/imapd ${PREFIX}/libexec/ - ${INSTALL_PROGRAM} ${WRKSRC}/ipopd/ipop2d ${PREFIX}/libexec/ - ${INSTALL_PROGRAM} ${WRKSRC}/ipopd/ipop3d ${PREFIX}/libexec/ + ${INSTALL_PROGRAM} ${WRKSRC}/imapd/imapd ${STAGEDIR}${PREFIX}/libexec/ + ${INSTALL_PROGRAM} ${WRKSRC}/ipopd/ipop2d ${STAGEDIR}${PREFIX}/libexec/ + ${INSTALL_PROGRAM} ${WRKSRC}/ipopd/ipop3d ${STAGEDIR}${PREFIX}/libexec/ ${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g mail -m 2711 \ - ${WRKSRC}/mlock/mlock ${PREFIX}/libexec - ${INSTALL_PROGRAM} ${WRKSRC}/mtest/mtest ${PREFIX}/bin/mboxtest + ${WRKSRC}/mlock/mlock ${STAGEDIR}${PREFIX}/libexec + ${INSTALL_PROGRAM} ${WRKSRC}/mtest/mtest ${STAGEDIR}${PREFIX}/bin/mboxtest ${INSTALL_MAN} \ - ${WRKSRC}/src/imapd/imapd.8 ${PREFIX}/man/man8/imapd.8 + ${WRKSRC}/src/imapd/imapd.8 ${STAGEDIR}${PREFIX}/man/man8/imapd.8 ${INSTALL_MAN} \ - ${WRKSRC}/src/ipopd/ipopd.8 ${PREFIX}/man/man8/ipopd.8 - ${INSTALL_PROGRAM} ${WRKSRC}/dmail/dmail ${PREFIX}/bin/ - ${INSTALL_PROGRAM} ${WRKSRC}/mailutil/mailutil ${PREFIX}/bin/ - ${INSTALL_PROGRAM} ${WRKSRC}/tmail/tmail ${PREFIX}/bin/ - ${INSTALL_MAN} ${WRKSRC}/src/dmail/dmail.1 ${PREFIX}/man/man1/ - ${INSTALL_MAN} ${WRKSRC}/src/mailutil/mailutil.1 ${PREFIX}/man/man1/ - ${INSTALL_MAN} ${WRKSRC}/src/tmail/tmail.1 ${PREFIX}/man/man1/ + ${WRKSRC}/src/ipopd/ipopd.8 ${STAGEDIR}${PREFIX}/man/man8/ipopd.8 + ${INSTALL_PROGRAM} ${WRKSRC}/dmail/dmail ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/mailutil/mailutil ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/tmail/tmail ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/src/dmail/dmail.1 ${STAGEDIR}${PREFIX}/man/man1/ + ${INSTALL_MAN} ${WRKSRC}/src/mailutil/mailutil.1 ${STAGEDIR}${PREFIX}/man/man1/ + ${INSTALL_MAN} ${WRKSRC}/src/tmail/tmail.1 ${STAGEDIR}${PREFIX}/man/man1/ post-install: @${CAT} ${PKGMESSAGE} @@ -119,9 +115,9 @@ post-install: @${ECHO} "================================================================================" .endif .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} -m 0755 -p ${DOCSDIR} + ${MKDIR} -m 0755 -p ${STAGEDIR}${DOCSDIR} @${TAR} -C ${WRKSRC}/docs -cf - . | \ - (umask 022; ${TAR} -C ${DOCSDIR} -xf -) + (umask 022; ${TAR} -C ${STAGEDIR}${DOCSDIR} -xf -) .endif cert: diff --git a/mail/imap-uw/pkg-plist b/mail/imap-uw/pkg-plist index 4e0ef327f228..2ba4fa247f7f 100644 --- a/mail/imap-uw/pkg-plist +++ b/mail/imap-uw/pkg-plist @@ -6,6 +6,11 @@ libexec/imapd libexec/ipop2d libexec/ipop3d libexec/mlock +man/man1/dmail.1.gz +man/man1/mailutil.1.gz +man/man1/tmail.1.gz +man/man8/ipopd.8.gz +man/man8/imapd.8.gz %%PORTDOCS%%%%DOCSDIR%%/BUILD %%PORTDOCS%%%%DOCSDIR%%/CONFIG %%PORTDOCS%%%%DOCSDIR%%/FAQ.html |