summaryrefslogtreecommitdiff
path: root/net-p2p/dclib/Makefile
blob: 307216e42b5ffa4e0195766cbece8018f8f60f17 (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:    dclib
# Date created:                         Wed 10 Jul 2002
# Whom: Sverrir Valgeirsson <e96sv@yahoo.se> and
#	Amar Takhar <verm@drunkmonk.net> et al
#
# $FreeBSD$
#

PORTNAME=	dclib
PORTVERSION=	0.3.6
CATEGORIES=	net
MASTER_SITES=	http://download.berlios.de/dcgui/

MAINTAINER=	markus@FreeBSD.org
COMMENT=	Direct connect interface library for dcgui

LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg \
		xml2.5:${PORTSDIR}/textproc/libxml2

USE_BZIP2=	yes
GNU_CONFIGURE=	yes
USE_REINPLACE=	yes
USE_OPENSSL=	yes
INSTALLS_SHLIB=	yes
USE_INC_LIBTOOL_VER=13

CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}

post-patch:
	@${REINPLACE_CMD} -e 's/-O2//g; s/-pedantic //g' \
		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
	@${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
		${WRKSRC}/Makefile.in

.include <bsd.port.mk>