freebsd-ports/multimedia/ogle-gui/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

63 lines
1.8 KiB
Makefile

# New ports collection makefile for: ogle
# Date created: Tue Oct 16 18:35:39 BRST 2001
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ogle
PORTVERSION= 0.9.2
PORTREVISION= 9
CATEGORIES= multimedia gnome
MASTER_SITES= http://www.dtek.chalmers.se/groups/dvd/dist/
PKGNAMESUFFIX= -gui
DISTNAME= ${PORTNAME}_gui-${PORTVERSION}
MAINTAINER= multimedia@FreeBSD.org
COMMENT= An add-on graphical user interface for Ogle
BUILD_DEPENDS= ${LOCALBASE}/lib/ogle/libdvdcontrol.so.11:${PORTSDIR}/multimedia/ogle
LIB_DEPENDS= glade-2.0:${PORTSDIR}/devel/libglade2 \
xml2.5:${PORTSDIR}/textproc/libxml2
RUN_DEPENDS= ogle:${PORTSDIR}/multimedia/ogle
USE_GETTEXT= yes
USE_XLIB= yes
USE_GNOME= gnomehack \
gnomehier \
gnomeprefix \
gtk20
WANT_GNOME= yes
USE_XPM= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
CONFIGURE_ARGS= --with-dvd-includes=${LOCALBASE}/include \
--with-dvdcontrol=${LOCALBASE} \
--without-included-gettext \
--enable-gtk2 \
--with-gtk-prefix=${LOCALBASE} \
--with-libiconv-prefix=${LOCALBASE} \
--with-libintl-prefix=${LOCALBASE} \
--with-xml-prefix=${LOCALBASE}
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mlibcapplet}!=""
USE_GNOME+= libcapplet
PKGNAMESUFFIX= -gnome
.endif
PLIST_SUB= SHARE_DATADIR="${SHARE_DATADIR}"
post-patch:
# fix library version
@${REINPLACE_CMD} -E -e "s|(libglade\.so)\.0|\1.4|; \
s|%%LOCALBASE%%|${LOCALBASE}|" \
${CONFIGURE_WRKSRC}/configure
# correct path for program data files
@${REINPLACE_CMD} -E -e \
's!(CONFIG_FILE[[:space:]]*=[^"]+\")[^/]+/!\1${LOCALBASE}/share/!; \
s!(CONFIG_FILE_DTD[[:space:]]*=[^"]+\")[^/]+/!\1${LOCALBASE}/share/!' \
${WRKSRC}/src/Makefile.in
.include <bsd.port.post.mk>