blob: de0ae7a78aae0119bd3fae81f1dcc1d115949543 (
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
42
43
|
# $NetBSD: Makefile,v 1.17 2004/04/25 04:06:43 snj Exp $
DISTNAME= imap-utils
PKGNAME= imap-uw-utils-20020102
PKGREVISION= 3
CATEGORIES= mail
MASTER_SITES= ftp://ftp.cac.washington.edu/imap/
EXTRACT_SUFX= .tar.Z
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.washington.edu/imap/
COMMENT= UW IMAP mailbox utilities
WRKSRC= ${WRKDIR}
DIST_SUBDIR= ${PKGNAME_NOREV}
USE_BUILDLINK3= yes
SRCDIRS= chkmail dmail icat ifrom imapcopy imapxfer \
mbxcopy mbxcreat mbxcvt tmail
CFLAGS+= -I${BUILDLINK_PREFIX.imap-uw}/include/c-client
LIBS+= -lc-client -lssl -lcrypto
do-build:
@for prog in ${SRCDIRS}; do \
${ECHO} "==> Building $${prog}"; \
cd ${WRKSRC}/$${prog}; \
${CC} ${CFLAGS} ${LDFLAGS} -o $${prog} $${prog}.c ${LIBS}; \
done
do-install:
@for prog in ${SRCDIRS}; do \
${ECHO} "==> Installing $${prog}"; \
cd ${WRKSRC}/$${prog}; \
${INSTALL_PROGRAM} $${prog} ${PREFIX}/bin; \
${INSTALL_MAN} $${prog}.1 ${PREFIX}/man/man1; \
done
${LN} -sf imapcopy ${PREFIX}/bin/imapmove
${LN} -sf mbxcopy ${PREFIX}/bin/mbxmove
.include "../../mail/imap-uw/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|