openbsd-ports/net/pidgin-facebookchat/Makefile
2010-04-05 21:05:34 +00:00

46 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.8 2010/04/05 21:05:34 steven Exp $
SHARED_ONLY = Yes
COMMENT = Facebook plugin for Pidgin
V = 1.65
DISTNAME = pidgin-facebookchat-source-${V}
PKGNAME = pidgin-facebookchat-${V}
CATEGORIES = net
HOMEPAGE = http://code.google.com/p/pidgin-facebookchat/
MAINTAINER = Steven Mestdagh <steven@openbsd.org>
# GPL v3
PERMIT_PACKAGE_FTP = Yes
PERMIT_PACKAGE_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
MASTER_SITES = http://pidgin-facebookchat.googlecode.com/files/
EXTRACT_SUFX = .tar.bz2
WRKDIST = ${WRKDIR}/pidgin-facebookchat
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = :libpurple->=2.0.0:net/pidgin
LIB_DEPENDS = json-glib-1.0.>=1.0:json-glib->=0.7.6:devel/json-glib
MAKE_FLAGS = LINUX32_COMPILER="${CC}" LOCALBASE=${LOCALBASE}
ALL_TARGET = libfacebook.so
NO_REGRESS = Yes
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/purple-2/
${INSTALL_DATA} ${WRKBUILD}/libfacebook.so ${PREFIX}/lib/purple-2/
.for i in 16 22 48
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps/pidgin/protocols/${i}/
${INSTALL_DATA} ${WRKSRC}/facebook${i}.png \
${PREFIX}/share/pixmaps/pidgin/protocols/${i}/facebook.png
.endfor
.include <bsd.port.mk>