2008-06-02 12:03:12 +00:00
|
|
|
# ex: ts=8
|
2002-07-16 00:37:16 +00:00
|
|
|
# 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
|
2009-03-16 18:32:22 +00:00
|
|
|
PORTVERSION= 0.3.23
|
2010-02-05 11:46:55 +00:00
|
|
|
PORTREVISION= 2
|
2006-01-30 21:36:28 +00:00
|
|
|
CATEGORIES= net-p2p
|
2009-08-22 00:32:25 +00:00
|
|
|
MASTER_SITES= SF/wxdcgui/${PORTNAME}/${PORTVERSION}
|
2002-07-16 00:37:16 +00:00
|
|
|
|
2008-04-16 22:32:34 +00:00
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
2007-06-29 21:25:17 +00:00
|
|
|
COMMENT= Direct connect interface library for valknut
|
2002-07-16 00:37:16 +00:00
|
|
|
|
2010-02-05 11:46:55 +00:00
|
|
|
LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg
|
2002-07-16 00:37:16 +00:00
|
|
|
|
2008-06-02 12:03:12 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
|
2002-07-16 00:37:16 +00:00
|
|
|
USE_BZIP2= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2006-08-15 00:56:24 +00:00
|
|
|
USE_LDCONFIG= yes
|
2008-09-23 14:11:26 +00:00
|
|
|
USE_GNOME= libxml2
|
2002-10-05 19:14:39 +00:00
|
|
|
|
2009-03-16 18:32:22 +00:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
|
|
|
|
|
2008-06-02 12:03:12 +00:00
|
|
|
post-extract:
|
|
|
|
${CHMOD} 0755 ${WRKSRC}/admin/install-sh
|
|
|
|
|
2003-09-06 05:41:35 +00:00
|
|
|
post-patch:
|
2009-03-16 18:32:22 +00:00
|
|
|
# ${REINPLACE_CMD} -e 's|-O2 ||g; s/-pedantic //g' \
|
|
|
|
# ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
2008-07-15 07:46:16 +00:00
|
|
|
${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
|
|
|
|
${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in
|
2008-06-02 12:03:12 +00:00
|
|
|
${FIND} ${WRKSRC} -name "Makefile.*" | ${XARGS} \
|
|
|
|
${REINPLACE_CMD} -e 's|dclib-0.3/||g'
|
2008-06-03 10:52:39 +00:00
|
|
|
${REINPLACE_CMD} -e 's|-0.3||g' ${WRKSRC}/dclib.pc.in
|
2008-07-15 07:46:16 +00:00
|
|
|
${REINPLACE_CMD} -e 's|-D_XOPEN_SOURCE=500||g; \
|
|
|
|
s|-D_BSD_SOURCE||g' ${WRKSRC}/configure ${WRKSRC}/configure.in
|
2002-07-16 00:37:16 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|