1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/net-p2p/gift/Makefile
2010-12-04 07:34:27 +00:00

54 lines
1.1 KiB
Makefile

# 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
PORTVERSION= 0.11.8.1
PORTREVISION= 8
CATEGORIES= net-p2p
MASTER_SITES= SF
DISTNAME= ${PORTNAME:L}-${PORTVERSION}
MAINTAINER= shoesoft@gmx.net
COMMENT= An OpenFT, Gnutella and FastTrack p2p network client
LIB_DEPENDS= vorbis.4:${PORTSDIR}/audio/libvorbis
USE_AUTOTOOLS= libltdl libtool
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_PERL5= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
USE_RC_SUBR= giftd
MAN1= giftd.1
DOC_FILES= AUTHORS COPYING src/ChangeLog \
INSTALL NEWS QUICKSTART README TODO
.include <bsd.port.pre.mk>
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.post.mk>