aboutsummaryrefslogtreecommitdiffstats
path: root/mail/gmime26-sharp/Makefile
blob: 19b3b0c685d4e1743baf8d6edac2747133d28bd7 (plain) (blame)
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
# Created by: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
# $FreeBSD$

PORTREVISION=   1
CATEGORIES= mail
PKGNAMESUFFIX=  26-sharp

MAINTAINER= mono@FreeBSD.org
COMMENT=    Mono bindings for gmime

LIB_DEPENDS=    libgmime-2.6.so:${PORTSDIR}/mail/gmime26

USES=       mono
MASTERDIR=  ${.CURDIR}/../gmime26
BUILD_WRKSRC=   ${WRKSRC}/mono
INSTALL_WRKSRC= ${BUILD_WRKSRC}
DESCR=      ${.CURDIR}/pkg-descr
PLIST=      ${.CURDIR}/pkg-plist

USE_GNOME+= gtksharp20
CONFIGURE_ARGS= --enable-mono=yes

# Else we conflict with mail/gmime26
OPTIONS_EXCLUDE=    DOCS

# Done in pre-configure because master port has a post-patch target already.
pre-configure:
    @${REINPLACE_CMD} -e 's|.@GMIME_VERSION@||g' \
        ${WRKSRC}/mono/gmime-sharp.dll.config.in

.include "${MASTERDIR}/Makefile"