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

PORTNAME=	libopendaap
PORTVERSION=	0.2.0
CATEGORIES=	devel net
MASTER_SITES=	http://crazney.net/programs/itunes/files/

MAINTAINER=	ahze@ahze.net
COMMENT=	C lib used to connect to iTunes(R) music shares

SHLIB_VER=	1
USE_BZIP2=	yes
USE_REINPLACE=	yes
USE_GNOME=	gnomehack gnometarget pkgconfig
USE_LIBTOOL_VER=15
USE_GCC=	3.3
PLIST_SUB=	SHLIB_VER="${SHLIB_VER}"

CONFIGURE_ENV=	CPPFLAGS="${PTHREAD_CFLAGS}"

INSTALLS_SHLIB=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' \
		${WRKSRC}/Makefile.am \
		${WRKSRC}/Makefile.in
	@${REINPLACE_CMD} -e 's|%%SHLIB_VER%%|.${SHLIB_VER}|' \
		${WRKSRC}/ltmain.sh

.include <bsd.port.mk>