blob: baaa584f8457a83cb9bf6505d9f90f6c407f2225 (
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
|
# $NetBSD: Makefile,v 1.1.1.1 2003/02/22 01:05:18 rh Exp $
#
DISTNAME= cyrus-imapd-2.1.12
PKGNAME= ${DISTNAME:S/cyrus-imapd/libsieve/}
WRKSRC= ${WRKDIR}/${DISTNAME}/sieve
CATEGORIES= mail
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/
MAINTAINER= rh@netbsd.org
HOMEPAGE= http://www.cyrusoft.com/sieve/
COMMENT= RFC3028 sieve library
USE_BUILDLINK2= YES
USE_LIBTOOL= YES
CPPFLAGS+= -I.
CPPFLAGS+= -I${PREFIX}/include/cyrus
LDFLAGS+= -lcyrus
do-configure:
${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile
do-install:
cd ${WRKSRC} && \
${LIBTOOL} --mode=install ${INSTALL_DATA} libsieve.la ${PREFIX}/lib
${INSTALL_DATA_DIR} ${PREFIX}/include/sieve
.for hdr in sieve_err.h sieve_interface.h
${INSTALL_DATA} ${WRKSRC}/${hdr} ${PREFIX}/include/sieve
.endfor
.include "../../mail/cyrus-imapd/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|