pkgsrc/mail/imap-uw/Makefile
hubertf d9b128539d Update to '2000 release.
Fixes a bunch of security problems. (This is the same imap-lib
that also comes with pine-4.30). Sorry, no detailed list available. ;(
2000-11-09 03:35:33 +00:00

63 lines
1.9 KiB
Makefile

# $NetBSD: Makefile,v 1.16 2000/11/09 03:35:33 hubertf Exp $
#
DISTNAME= imap-2000
PKGNAME= imap-uw-2000
CATEGORIES= mail
MASTER_SITES= ftp://ftp.cac.washington.edu/imap/
EXTRACT_SUFX= .tar.Z
MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://www.washington.edu/imap/
USE_LIBTOOL= # defined
MESSAGE_FILE= ${WRKDIR}/MESSAGE
INST_PROG= ${LIBTOOL} ${INSTALL_PROGRAM}
INST_LIB= ${LIBTOOL} ${INSTALL_DATA}
DOC_DIR= ${PREFIX}/share/doc/imap-uw
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
BUILDNAME= gso
.else
BUILDNAME= neb
.endif
do-configure:
${SED} -e 's|@PREFIX@|${PREFIX}|g' \
< ${WRKSRC}/src/imapd/imapd.8c > ${WRKDIR}/imapd.8
${SED} -e 's|@PREFIX@|${PREFIX}|g' \
< ${WRKSRC}/src/ipopd/ipopd.8c > ${WRKDIR}/ipopd.8
${SED} -e 's|@PREFIX@|${PREFIX}|g' \
< ${PKGDIR}/MESSAGE > ${MESSAGE_FILE}
do-build:
cd ${WRKSRC} && ${MAKE} ${BUILDNAME} PREFIX=${PREFIX} CC="${LIBTOOL} ${CC} -g"
do-install:
${INST_LIB} ${WRKSRC}/c-client/libimapuw.la ${PREFIX}/lib
${INST_PROG} ${WRKSRC}/imapd/imapd ${PREFIX}/libexec
${INST_PROG} ${WRKSRC}/ipopd/ipop2d ${PREFIX}/libexec
${INST_PROG} ${WRKSRC}/ipopd/ipop3d ${PREFIX}/libexec
${INST_PROG} ${WRKSRC}/mtest/mtest ${PREFIX}/sbin
${LN} -sf ${PREFIX}/libexec/imapd ${PREFIX}/sbin/rimapd
${INSTALL_MAN} ${WRKDIR}/imapd.8 ${PREFIX}/man/man8
${INSTALL_MAN} ${WRKDIR}/ipopd.8 ${PREFIX}/man/man8
${LN} -sf ipopd.8 ${PREFIX}/man/man8/ipop2d.8
${LN} -sf ipopd.8 ${PREFIX}/man/man8/ipop3d.8
${INSTALL_DATA_DIR} ${DOC_DIR}
${INSTALL_DATA} ${WRKSRC}/docs/FAQ ${DOC_DIR}
${INSTALL_DATA} ${WRKSRC}/docs/RELNOTES ${DOC_DIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${DOC_DIR}
${INSTALL_DATA_DIR} ${PREFIX}/include/c-client
for i in linkage.h mail.h rfc822.h misc.h imap4r1.h osdep.h smtp.h \
nntp.h env_unix.h fs.h ftl.h nl.h tcp.h env.h linkage.c; \
do \
${INSTALL_DATA} ${WRKSRC}/c-client/$$i \
${PREFIX}/include/c-client ; \
done
.include "../../mk/bsd.pkg.mk"