aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libopendaap/Makefile
blob: 33b627c90145a71e0dc999db2816a45a319f6ba3 (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
# New ports collection makefile for:    libopendaap
# Date created:     2004-03-10
# Whom:         Michael Johnson <ahze@ahze.net>
#
# $FreeBSD$
#

PORTNAME=   libopendaap
PORTVERSION=    0.3.0
PORTREIVSION=   1
CATEGORIES= devel net
MASTER_SITES=   http://craz.net/programs/itunes/files/

MAINTAINER= ports@FreeBSD.org
COMMENT=    C lib used to connect to iTunes(R) music shares

USE_BZIP2=  yes
USE_REINPLACE=  yes
USE_GNOME=  gnomehack gnometarget pkgconfig
USE_INC_LIBTOOL_VER=15
USE_GCC=    3.4
MAN3=       libopendaap.3

CONFIGURE_ENV=  CPPFLAGS="${PTHREAD_CFLAGS}"

INSTALLS_SHLIB= yes

pre-configure:
# Broken libtool fix
    @cd ${WRKSRC} && \
        ${LIBTOOLIZE} --force

post-patch:
    @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' \
        ${WRKSRC}/Makefile.am \
        ${WRKSRC}/Makefile.in \
        ${WRKSRC}/opendaap.pc.in

.include <bsd.port.mk>