openbsd-ports/x11/ogle_gui/Makefile
espie c59be8204d update ogle_gui to 0.9.2, to synch with ogle.
Minor improvement: ogle_gui now uses gnome2 base libraries.
This unconfuses our linker, that now has one single libxml to take
care of.

(temporary gtk1 flavor, which will probably vanish soon).

okay'ed MAINTAINER.
2003-11-13 18:48:38 +00:00

43 lines
929 B
Makefile

# $OpenBSD: Makefile,v 1.7 2003/11/13 18:48:38 espie Exp $
CATEGORIES= x11
COMMENT= "GUI for ogle"
DISTNAME= ogle_gui-0.9.2
HOMEPAGE= http://www.dtek.chalmers.se/groups/dvd/
# Authors can be reached at dvd@dtek.chalmers.se
MASTER_SITES= ${HOMEPAGE}dist/
MAINTAINER= Dan Weeks <danimal@danimal.org>
CONFIGURE_STYLE= gnu
# GPL
PERMIT_DISTFILES_CDROM=Yes
PERMIT_DISTFILES_FTP=Yes
PERMIT_PACKAGE_CDROM=Yes
PERMIT_PACKAGE_FTP=Yes
LIB_DEPENDS= dvdcontrol.9,msgevents.6::x11/ogle \
xml2::textproc/libxml \
FLAVORS=gtk1
FLAVOR?=
.if ${FLAVOR:L} == "gtk1"
LIB_DEPENDS+= glade.5.0::devel/libglade \
gtk.1.2::x11/gtk+
.else
LIB_DEPENDS+= glade-2.0.0.0::devel/libglade2 \
gtk-x11-2.0.0.0::x11/gtk+2
CONFIGURE_ARGS+=--enable-gtk2
.endif
MODULES= gettext
CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include -L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include -L${LOCALBASE}/lib" \
LDFLAGS="-pthread"
.include <bsd.port.mk>