1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/net/mugshot/Makefile
Joe Marcus Clarke 4acc6fb2a4 Presenting GNOME 2.20.1 and all related works for FreeBSD. The official
GNOME 2.20 release notes can be found at
http://www.gnome.org/start/2.20/notes/en/ .  Beyond that, this update
includes the new GIMP 2.4 (courtesy of ahze).

The GNOME 2.20 update also includes a huge change in the FreeBSD GNOME
hierarchy.  We are now using the more standard DATADIR of ${PREFIX}/share
rather than ${PREFIX}/share/gnome. The result is that fewer patches and
hacks are needed to port GNOME components to FreeBSD.  This will mean some
user changes may be required, so be sure to read /usr/ports/UPDATING for
more details.

This release and the things we accomplished in it would not have been
possible without mezz's crazy idea to collapse DATADIR, and his persistence
to make it happen successfully.  Ahze and pav also deserve thanks for
their work on porting modules and testing the whole ball of wax on
pointyhat (respectively).

The FreeBSD GNOME team would also like to thank our various testers and
contributors:

Yasuda Keisuke
Frank Jahnke
Pawel Worach
Brian Gruber
Franz Klammer
Yuri Pankov
Nick Barkas
Cristian KLEIN
Tony Maher
Scot Hetzel
Martin Matuska (mm)
Benoit Dejean
Martin Wilke (miwi)
(And anyone else I may have missed)

PRs fixed in this release:

111272, 113470, 115995, 116338
2007-10-24 23:37:25 +00:00

62 lines
2.3 KiB
Makefile

# New ports collection makefile for: mugshot
# Date Created: 24 December 2006
# Whom: wahjava
#
# $FreeBSD$
#
PORTNAME= mugshot
PORTVERSION= 1.1.45
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://download.mugshot.org/client/sources/linux/
MAINTAINER= wahjava@gmail.com
COMMENT= The official client for Mugshot network
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg:install \
Xss.1:${PORTSDIR}/x11/xorg-libraries:install
BUILD_DEPENDS= ${PKGCONFIG_LOCAL_BASE}/dbus-1.pc:${PORTSDIR}/devel/dbus:install \
${PKGCONFIG_LOCAL_BASE}/dbus-glib-1.pc:${PORTSDIR}/devel/dbus-glib:install \
${PKGCONFIG_LOCAL_BASE}/loudmouth-1.0.pc:${PORTSDIR}/net-im/loudmouth:install \
${PKGCONFIG_LOCAL_BASE}/cairo.pc:${PORTSDIR}/graphics/cairo:install \
${PKGCONFIG_LOCAL_BASE}/libcurl.pc:${PORTSDIR}/ftp/curl:install \
${LOCALBASE}/include/firefox/caps/nsIScriptSecurityManager.h:${PORTSDIR}/www/firefox:install \
${LOCALBASE}/lib/libpcre.a:${PORTSDIR}/devel/pcre:install \
${LOCALBASE}/lib/firefox/xpidl:${PORTSDIR}/www/firefox:install \
${X11BASE}/include/X11/extensions/scrnsaver.h:${PORTSDIR}/x11/xorg-libraries:install \
dbus>=1.0.2:${PORTSDIR}/devel/dbus:install
USE_GNOME= gnomehack gconf2 glib20 gtk20 pango gnomevfs2 gnomedesktop
GNU_CONFIGURE= yes
USE_GMAKE= yes
GCONF_SCHEMAS= mugshot-uri-handler.schemas
INSTALLS_ICONS= yes
USE_LDCONFIG= yes
LDCONFIG_DIRS= %%PREFIX%%/lib/mugshot/firefox/components
PKGCONFIG_LOCAL_BASE= ${LOCALBASE}/libdata/pkgconfig
PKGCONFIG_X11_BASE= ${X11BASE}/libdata/pkgconfig
mugshot_INSTALL_cmd= install
.include <bsd.port.pre.mk>
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= "--with-gecko-idl=${FIREFOX_IDL_PATH}" \
"--with-gecko-headers=${LOCALBASE}/include/firefox" \
"--with-xpidl=${LOCALBASE}/lib/firefox/xpidl" \
"--x-includes=${X11BASE}/include" \
"--x-libraries=${X11BASE}/lib"
FIREFOX_IDL_PATH!=${SH} -c 'for i in ${LOCALBASE}/share/idl/firefox-*; do [ -f $$i/nsIURI.idl ] && ${ECHO} $$i && break; done; exit 0;'
BUILD_DEPENDS+=${FIREFOX_IDL_PATH}/nsIURI.idl:${PORTSDIR}/www/firefox:install
post-install:
@${SED} -i "" -e "s|%%PREFIX%%|${PREFIX}|" ${PREFIX}/share/mugshot/firefox-update.sh
@${PREFIX}/share/mugshot/firefox-update.sh ${mugshot_INSTALL_cmd}
.include <bsd.port.post.mk>