aboutsummaryrefslogtreecommitdiffstats
path: root/comms/obexapp/Makefile
blob: 8d759767fbbb02c7687c5a926e8cfffbbd3b4bba (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
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:    obexapp
# Date created:             22 March 2004
# Whom:                 Guido Falsi <mad@madpilot.net>
#
# $FreeBSD$
#

PORTNAME=   obexapp
PORTVERSION=    1.4.5
CATEGORIES= comms net
MASTER_SITES=   http://www.geocities.com/m_evmenkin/

MAINTAINER= mad@madpilot.net
COMMENT=    Obex application to transfer objects to mobile equipment

LIB_DEPENDS=    openobex:${PORTSDIR}/comms/openobex

WRKSRC=     ${WRKDIR}/${PORTNAME}

USE_ICONV=  yes
MAN1=       obexapp.1
MANCOMPRESSED=  yes
PLIST_FILES=    bin/obexapp

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 502101
IGNORE=     Needs 5.x from 20 Jan 2004 or later (sdpd)
.endif

.if ${OSVERSION} < 502121
# libbluetooth is only installed on i386 before this version
ONLY_FOR_ARCHS= i386
.endif

post-patch:
    @${FIND} ${WRKSRC} -name \*.c | ${XARGS} \
        ${REINPLACE_CMD} -e 's|<sdp.h>|</usr/include/sdp.h>|'

.include <bsd.port.post.mk>