2003-10-06 11:11:56 +00:00
|
|
|
# New ports collection makefile for: giFT library
|
|
|
|
# Date created: Fri Nov 16 02:47:45 BRST 2001
|
|
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= giFT
|
2004-02-14 13:56:41 +00:00
|
|
|
PORTVERSION= 0.11.6
|
2003-10-06 11:11:56 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME:L}
|
|
|
|
DISTNAME= ${PORTNAME:L}-${PORTVERSION}
|
|
|
|
|
2003-10-15 06:07:45 +00:00
|
|
|
MAINTAINER= shoesoft@gmx.net
|
2003-10-06 11:11:56 +00:00
|
|
|
COMMENT= An OpenFT, Gnutella and FastTrack p2p network client
|
|
|
|
|
2004-06-04 17:29:38 +00:00
|
|
|
LIB_DEPENDS= vorbis.3:${PORTSDIR}/audio/libvorbis \
|
2003-10-09 07:24:02 +00:00
|
|
|
Magick.6:${PORTSDIR}/graphics/ImageMagick
|
2003-10-06 11:11:56 +00:00
|
|
|
.if defined(WITH_LIBMAGIC)
|
|
|
|
LIB_DEPENDS+= magic.1:${PORTSDIR}/sysutils/file
|
|
|
|
.endif
|
|
|
|
|
2004-06-04 17:29:38 +00:00
|
|
|
USE_LIBLTDL= yes
|
2003-10-06 11:11:56 +00:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
|
|
|
|
LDFLAGS="${LDFLAGS}"
|
2003-10-06 11:21:50 +00:00
|
|
|
INSTALLS_SHLIB =yes
|
2003-10-06 11:11:56 +00:00
|
|
|
.if defined(WITH_LIBMAGIC)
|
|
|
|
CONFIGURE_ARGS= --enable-libmagic
|
|
|
|
.endif
|
|
|
|
|
|
|
|
MAN1= giftd.1
|
|
|
|
|
2004-01-09 04:50:47 +00:00
|
|
|
DOC_FILES= AUTHORS COPYING src/ChangeLog \
|
2003-10-06 11:11:56 +00:00
|
|
|
INSTALL NEWS QUICKSTART README TODO
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
|
|
|
|
${WRKSRC}/lib/Makefile.in
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.ifndef(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for doc in ${DOC_FILES}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|