# New ports collection makefile for: pidgin-facebookchat # Date created: 2008-07-27 # Whom: ports@c0decafe.net # # $FreeBSD$ # PORTNAME= pidgin-facebookchat PORTVERSION= 1.69 PORTREVISION= 2 CATEGORIES= net-im MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} DISTNAME= ${PROJECTHOST}-source-${PORTVERSION} MAINTAINER= jsa@FreeBSD.org COMMENT= Facebook Chat for Pidgin LIB_DEPENDS= json-glib-1.0.0:${PORTSDIR}/devel/json-glib BUILD_DEPENDS= pidgin:${PORTSDIR}/net-im/pidgin RUN_DEPENDS= pidgin:${PORTSDIR}/net-im/pidgin LICENSE= GPLv3 PROJECTHOST= ${PORTNAME} WRKSRC= ${WRKDIR}/${PORTNAME} USE_BZIP2= yes USE_LDCONFIG= yes PLIST_FILES= lib/purple-2/libfacebook.so do-patch: ${REINPLACE_CMD} -e "s#i686-pc-freebsd6.0-gcc#${CC}#; \ s#/usr/local/#${LOCALBASE}/#g; \ s#/usr/include/json-glib-1.0#${LOCALBASE}/include/json-glib-1.0 \ -L${LOCALBASE}/lib/#g" \ ${WRKSRC}/Makefile do-build: ${MAKE} -C ${WRKSRC} libfacebookbsd60.so do-install: ${MKDIR} ${PREFIX}/lib/purple-2/ ${INSTALL_DATA} ${WRKSRC}/libfacebook.so ${PREFIX}/lib/purple-2/ .include