blob: 2ad9d578ec8ba9676bb2ea6ae040a9ca3f5163be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $NetBSD: Makefile,v 1.6 1998/09/27 23:21:56 hubertf Exp $
#
DISTNAME= imap-4.2
PKGNAME= imap-uw-4.2
CATEGORIES= mail
MASTER_SITES= ftp://ftp.cac.washington.edu/imap/
EXTRACT_SUFX= .tar.Z
MAINTAINER= tv@netbsd.org
HOMEPAGE= http://www.washington.edu/imap/
USE_LIBTOOL= yes
INST_PROG= ${LIBTOOL} ${INSTALL_PROGRAM}
INST_LIB= ${LIBTOOL} ${INSTALL_DATA}
CONFLICTS= imap-uw-4.1
MESSAGE_FILE= ${WRKDIR}/.MESSAGE
do-configure:
@${SED} -e 's|@PREFIX@|${PREFIX}|' ${WRKSRC}/src/imapd/imapd.8c >${WRKSRC}/imapd.8
@${SED} -e 's|@PREFIX@|${PREFIX}|' ${WRKSRC}/src/ipopd/ipopd.8c >${WRKSRC}/ipopd.8
@${SED} -e 's|@PREFIX@|${PREFIX}|' ${PKGDIR}/MESSAGE >${MESSAGE_FILE}
do-build:
cd ${WRKSRC} && ${MAKE} neb PREFIX=${PREFIX} CC="${LIBTOOL} ${CC}"
do-install:
${INST_LIB} ${WRKSRC}/c-client/libimapuw.la ${PREFIX}/lib/
@${RM} -f ${PREFIX}/lib/libimapuw.a
${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/
${INSTALL_MAN} ${WRKSRC}/imapd.8 ${PREFIX}/man/man8/
${INSTALL_MAN} ${WRKSRC}/ipopd.8 ${PREFIX}/man/man8/
${LN} -sf ipopd.8 ${PREFIX}/man/man8/ipop2d.8
${LN} -sf ipopd.8 ${PREFIX}/man/man8/ipop3d.8
.include "../../mk/bsd.pkg.mk"
|