diff options
Diffstat (limited to 'mail/imap-uw/Makefile')
-rw-r--r-- | mail/imap-uw/Makefile | 33 |
1 files changed, 2 insertions, 31 deletions
diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile index caa140833199..a8b2b5c4d500 100644 --- a/mail/imap-uw/Makefile +++ b/mail/imap-uw/Makefile @@ -20,9 +20,10 @@ DISTFILES= ${DISTNAME}2${EXTRACT_SUFX} \ MAINTAINER= imap-uw@freebsd.ady.ro +LIB_DEPENDS= c-client4.7:${PORTSDIR}/mail/cclient + Y2K= http://www.washington.edu/imap/IMAP-FAQs/FAQ-00002.html -INSTALLS_SHLIB= yes PAMAUTH?= yes .if ${PAMAUTH} != "no" ALL_TARGET= bfp @@ -31,42 +32,17 @@ ALL_TARGET= bsf .endif MAN8= ipopd.8 imapd.8 -SHLIBBASE= c-client4 -SHLIBMAJ= 7 -SHLIBNAME= lib${SHLIBBASE}.so.${SHLIBMAJ} -MAKE_ENV= SHLIBNAME=${SHLIBNAME} SHLIBBASE=${SHLIBBASE} -PLIST_SUB= SHLIBNAME=${SHLIBNAME} SHLIBBASE=${SHLIBBASE} - .include <bsd.port.pre.mk> -.if ${PORTOBJFORMAT} == "aout" -SHLIBNAME= lib${SHLIBBASE}.so.${SHLIBMAJ}.0 -.endif - pre-extract: .if !defined(BATCH) && !defined(PACKAGE_BUILDING) @${SH} ${PKGDIR}/INSTALL foo PRE-INSTALL || ${FALSE} .endif -post-configure: - @${ECHO_MSG} ">> The c-client shared library will be named ${SHLIBNAME}" -.if ${PAMAUTH} != "no" - @${ECHO_MSG} ">> Building with PAM support" - @${ECHO_MSG} ">> You can disable PAM support building with \"PAMAUTH=no\"" -.endif - post-build: @(cd ${WRKDIR}/mlock; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} all) do-install: - ${INSTALL_DATA} ${WRKSRC}/c-client/mail.h ${PREFIX}/include - ${INSTALL_DATA} ${WRKSRC}/c-client/rfc822.h ${PREFIX}/include - ${INSTALL_DATA} ${WRKSRC}/c-client/linkage.h ${PREFIX}/include - ${INSTALL} ${COPY} ${STRIP} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ - ${WRKSRC}/c-client/${SHLIBNAME} ${PREFIX}/lib - ${LN} -sf ${SHLIBNAME} ${PREFIX}/lib/lib${SHLIBBASE}.so - ${INSTALL_DATA} ${WRKSRC}/c-client/c-client.a \ - ${PREFIX}/lib/lib${SHLIBBASE}.a ${INSTALL_PROGRAM} ${WRKSRC}/imapd/imapd ${PREFIX}/libexec ${INSTALL_PROGRAM} ${WRKSRC}/ipopd/ipop2d ${PREFIX}/libexec ${INSTALL_PROGRAM} ${WRKSRC}/ipopd/ipop3d ${PREFIX}/libexec @@ -78,9 +54,4 @@ do-install: ${INSTALL_MAN} \ ${WRKSRC}/src/ipopd/ipopd.8c ${PREFIX}/man/man8/ipopd.8 -post-install: -.if ${PAMAUTH} != "no" - @${CAT} ${PKGMESSAGE} -.endif - .include <bsd.port.post.mk> |