2013-03-11 07:20:26 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.42 2013/03/11 11:23:51 espie Exp $
|
2011-10-02 11:27:31 -04:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS-mono= ${MONO_ARCHS}
|
2011-08-30 02:45:53 -04:00
|
|
|
|
|
|
|
COMMENT-main= MIME messages creation and parsing library
|
|
|
|
COMMENT-mono= mono bindings for gmime
|
|
|
|
|
2011-11-06 11:45:06 -05:00
|
|
|
GNOME_PROJECT= gmime
|
2013-03-03 12:44:43 -05:00
|
|
|
GNOME_VERSION= 2.6.15
|
2011-08-30 02:45:53 -04:00
|
|
|
|
|
|
|
PKGNAME-main= ${DISTNAME}
|
2011-11-06 11:45:06 -05:00
|
|
|
PKGNAME-mono= gmime-sharp-${GNOME_VERSION}
|
2011-08-30 02:45:53 -04:00
|
|
|
|
2012-12-10 02:20:29 -05:00
|
|
|
SHARED_LIBS += gmime-2.6 0.0 # 600.13
|
2011-08-30 02:45:53 -04:00
|
|
|
|
|
|
|
CATEGORIES= mail devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://spruce.sourceforge.net/gmime/
|
|
|
|
|
|
|
|
# LGPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
|
|
|
WANTLIB-main += ${MODGETTEXT_WANTLIB}
|
2012-02-21 03:21:57 -05:00
|
|
|
WANTLIB-main += ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
|
2012-10-19 02:15:41 -04:00
|
|
|
WANTLIB-main += pcre pthread z
|
2011-08-30 02:45:53 -04:00
|
|
|
|
2011-09-26 10:20:41 -04:00
|
|
|
MULTI_PACKAGES= -main -mono
|
2011-08-30 02:45:53 -04:00
|
|
|
|
2011-11-06 11:45:06 -05:00
|
|
|
MODULES += devel/gettext \
|
|
|
|
x11/gnome
|
2011-08-30 02:45:53 -04:00
|
|
|
|
2012-04-25 07:41:45 -04:00
|
|
|
# needed to build the tests
|
|
|
|
BUILD_DEPENDS += security/libgpg-error
|
|
|
|
|
2011-08-30 02:45:53 -04:00
|
|
|
LIB_DEPENDS-main= ${MODGETTEXT_LIB_DEPENDS} \
|
2012-02-21 03:21:57 -05:00
|
|
|
devel/glib2
|
2011-08-30 02:45:53 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
2011-11-06 11:45:06 -05:00
|
|
|
CONFIGURE_ENV= DOLT_BASH="/bin/ksh"
|
2011-08-30 02:45:53 -04:00
|
|
|
|
|
|
|
### mono subpackage
|
|
|
|
PSEUDO_FLAVORS= no_mono
|
2013-03-03 12:44:43 -05:00
|
|
|
FLAVOR ?=
|
2011-08-30 02:45:53 -04:00
|
|
|
|
|
|
|
MODMONO_DEPS= No
|
|
|
|
DLLMAP_FILES= mono/gmime-sharp.dll.config
|
|
|
|
|
2011-09-26 10:20:41 -04:00
|
|
|
.include <bsd.port.arch.mk>
|
2011-08-30 02:45:53 -04:00
|
|
|
|
2011-09-26 10:20:41 -04:00
|
|
|
.if ${BUILD_PACKAGES:M-mono}
|
2011-08-30 02:45:53 -04:00
|
|
|
MODULES+= lang/mono
|
|
|
|
BUILD_DEPENDS+= ${MODMONO_BUILD_DEPENDS} \
|
|
|
|
x11/mono-gtk2
|
|
|
|
RUN_DEPENDS-mono= ${MODMONO_RUN_DEPENDS} \
|
|
|
|
x11/mono-gtk2
|
|
|
|
LIB_DEPENDS-mono= # empty
|
|
|
|
WANTLIB-mono= # empty
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-mono
|
|
|
|
.endif
|
|
|
|
### end of mono subpackage
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|