freebsd-ports/net-im/pidgin-facebookchat/Makefile
Joseph S. Atkinson e9559e2bce Update to latest.
Approved by:	wxs (mentor)
2010-10-12 02:10:06 +00:00

47 lines
1.3 KiB
Makefile

# New ports collection makefile for: pidgin-facebookchat
# Date created: 2008-07-27
# Whom: ports@c0decafe.net <ports@c0decafe.net>
#
# $FreeBSD$
#
PORTNAME= pidgin-facebookchat
PORTVERSION= 1.68
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
PIXMAPS_DIR= ${PREFIX}/share/pixmaps/pidgin/protocols
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/ \
${PIXMAPS_DIR}/16 ${PIXMAPS_DIR}/22 ${PIXMAPS_DIR}/48
${INSTALL_DATA} ${WRKSRC}/libfacebook.so ${PREFIX}/lib/purple-2/
${INSTALL_DATA} ${WRKSRC}/facebook16.png ${PIXMAPS_DIR}/16/facebook.png
${INSTALL_DATA} ${WRKSRC}/facebook22.png ${PIXMAPS_DIR}/22/facebook.png
${INSTALL_DATA} ${WRKSRC}/facebook48.png ${PIXMAPS_DIR}/48/facebook.png
.include <bsd.port.mk>