blob: 3a562b1991ee00ddae5f0d044f6aeb357c10a8a3 (
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
44
45
|
# $NetBSD: Makefile,v 1.27 2008/03/04 17:57:18 jlam Exp $
DISTNAME= imap-utils
PKGNAME= imap-uw-utils-20050108
PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.cac.washington.edu/imap/
EXTRACT_SUFX= .tar.Z
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.washington.edu/imap/
COMMENT= UW IMAP mailbox utilities
DIST_SUBDIR= ${PKGNAME_NOREV}
BUILDLINK_API_DEPENDS.imap-uw+= imap-uw>=2004c1nb1
PKG_DESTDIR_SUPPORT= user-destdir
SRCDIRS= icat ifrom
CFLAGS+= -I${BUILDLINK_PREFIX.imap-uw}/include/c-client
LIBS+= -lc-client -lssl -lcrypto
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
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} ${DESTDIR}${PREFIX}/bin; \
${INSTALL_MAN} $${prog}.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1; \
done
.include "../../mail/imap-uw/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|