aboutsummaryrefslogtreecommitdiffstats
path: root/comms/obexapp/Makefile
blob: 9e06277046457f1a544ff9ab145837cf4c6bca53 (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
PORTNAME=   obexapp
PORTVERSION=    1.4.15
PORTREVISION=   4
CATEGORIES= comms net
MASTER_SITES=   http://people.freebsd.org/~emax/obexapp/

MAINTAINER= madpilot@FreeBSD.org
COMMENT=    Obex application to transfer objects to mobile equipment

LIB_DEPENDS=    libopenobex.so:comms/openobex \
        libexpat.so:textproc/expat2

WRKSRC=     ${WRKDIR}/${PORTNAME}

USES=       iconv readline uidfix
PLIST_FILES=    bin/obexapp man/man1/obexapp.1.gz

.include <bsd.port.pre.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300134
MAKE_ENV+=  NO_WERROR=yes
.else
MAKE_ENV+=  MK_WERROR=no
.endif

post-patch:
    @${REINPLACE_CMD} -e 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/Makefile

.include <bsd.port.post.mk>