summaryrefslogtreecommitdiff
path: root/comms/obexapp/Makefile
blob: d9ebb8f0ffaee7629039eb543b51846fbc3824a4 (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
# $NetBSD: Makefile,v 1.2 2006/07/02 18:24:18 xtraeme Exp $
#

DISTNAME=	obexapp-1.4.4
CATEGORIES=	comms
MASTER_SITES=	http://www.geocities.com/m_evmenkin/

MAINTAINER=	xtraeme@NetBSD.org
HOMEPAGE=	http://www.geocities.com/m_evmenkin/
COMMENT=	Obex application to transfer objects to mobile equipment

ONLY_FOR_PLATFORM=	FreeBSD-*-* NetBSD-*-*

WRKSRC=		${WRKDIR}/obexapp

SUBST_CLASSES+=		mk
SUBST_FILES.mk=		Makefile
SUBST_STAGE.mk=		post-configure
SUBST_SED.mk=		-e "s|-lbsdxml|-lexpat|"
SUBST_SED.mk+=		-e "s|/usr/local/man|${PREFIX}|"
SUBST_SED.mk+=		-e "s|/usr/local|${PREFIX}|"
SUBST_SED.mk+=		-e "s|CFLAGS=|CFLAGS+=|"

# Sigh, this needs the GNU libiconv.
USE_GNU_ICONV=		yes

# Version that contains support for NetBSD/bluetooth.
BUILDLINK_ABI_DEPENDS.openobex+=	openobex>=1.0.1nb3

# Sigh... too many warnings with GCC 4.x, disable them for now.
CFLAGS+=		-w


.include "../../comms/openobex/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"