openbsd-ports/net/pidgin-facebookchat/Makefile
2009-01-05 21:18:24 +00:00

45 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2009/01/05 21:18:24 steven Exp $
SHARED_ONLY = Yes
COMMENT = Facebook plugin for Pidgin
V = 1.47
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 = :pidgin->=2.0.0:net/pidgin
MAKE_FLAGS = LINUX32_COMPILER="${CC}"
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>