1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/net-im/pidgin-facebookchat/Makefile
Tijl Coosemans 5795addbba Convert net-im/libpurple (and slave ports net-im/finch and net-im/pidgin)
to "USES=libtool tar:bzip2".  Bump PORTREVISION on all dependent ports
and modernise them as well (USES, LIB_DEPENDS, staging).

audio/pidgin-musictracker:
- Replace LIBS with LDFLAGS.
- Disable static plugin.

net/online-desktop: Remove obsolete patches.

net-im/mbpurple:
- Drop pkgconf dependency.
- Replace post-patch with MAKE_ARGS.
- Use standard do-build.

net-im/pidgin-audacious-remote: Disable static plugin.

net-im/pidgin-birthday-reminder: Disable static plugin.

net-im/pidgin-fetion: Replace pkg-plist with PLIST_FILES.

net-im/pidgin-guifications:
- Drop USE_GNOME=gnomeprefix.
- Replace LIBS with LDFLAGS.

net-im/pidgin-hotkeys:
- Drop CFLAGS=-fPIC.
- Fix build on systems without gcc.

net-im/pidgin-libnotify:
- Use option helpers.
- Drop references to PTHREAD_CFLAGS and PTHREAD_LIBS.

net-im/pidgin-manualsize: Fix build on systems without gcc.

net-im/pidgin-privacy-please:
- Replace a patch with CPPFLAGS and LDFLAGS.
- Don't use USE_LDCONFIG for a plugin.

net-im/pidgin-sipe:
- Don't use USE_LDCONFIG for a plugin.
- Drop PORTDOCS that don't contain useful documentation.
- Patch configure with s/LDLAGS/LDFLAGS/ so LDFLAGS can replace LIBS.
- Use option helpers and fix Kerberos option.
- Remove obsolete CONFIGURE_ENV.

security/pidgin-encryption:
- Drop references to PTHREAD_CFLAGS and PTHREAD_LIBS.
- Disable static plugin.
- Use option helpers.

security/pidgin-otr:
- Drop redundant comment about PORTREVISION.
- Add USE_GNOME=gtk20.
- Drop references to PTHREAD_CFLAGS and PTHREAD_LIBS.
- Port uses stack protector unconditionally so link with -lssp_nonshared
  when necessary like Mk/bsd.ssp.mk does.

Approved by:	portmgr (PORTREVISION bump on unstaged port)
2014-05-17 16:57:14 +00:00

46 lines
1.1 KiB
Makefile

# Created by: ports@c0decafe.net <ports@c0decafe.net>
# $FreeBSD$
PORTNAME= pidgin-facebookchat
PORTVERSION= 1.69
PORTREVISION= 3
CATEGORIES= net-im
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DISTNAME= ${PROJECTHOST}-source-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Facebook Chat for Pidgin
LICENSE= GPLv3
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
DEPRECATED= obsolete, development has ceased, not staged
EXPIRATION_DATE= 2014-07-27
PROJECTHOST= ${PORTNAME}
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_BZIP2= yes
USE_LDCONFIG= yes
PLIST_FILES= lib/purple-2/libfacebook.so
NO_STAGE= yes
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 <bsd.port.mk>