openbsd-ports/x11/ogle_gui/Makefile

48 lines
1.2 KiB
Makefile
Raw Normal View History

2004-12-19 12:36:31 -05:00
# $OpenBSD: Makefile,v 1.12 2004/12/19 17:36:31 alek 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/
CONFIGURE_STYLE= gnu
# GPL
PERMIT_DISTFILES_CDROM=Yes
PERMIT_DISTFILES_FTP=Yes
PERMIT_PACKAGE_CDROM=Yes
PERMIT_PACKAGE_FTP=Yes
2004-12-19 12:36:31 -05:00
WANTLIB= X11 Xext pthread z m c
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+
2004-12-19 12:36:31 -05:00
WANTLIB+= Xi gdk glib gmodule xml
.else
BUILD_DEPENDS+= :pkgconfig-*:devel/pkgconfig
LIB_DEPENDS+= glade-2.0.0.0::devel/libglade2 \
gtk-x11-2.0.0.0::x11/gtk+2
CONFIGURE_ARGS+=--enable-gtk2
2004-12-19 12:36:31 -05:00
WANTLIB+= gdk-x11-2.0.0.0 gdk_pixbuf-2.0.0.0 glib-2.0.0.0 \
gmodule-2.0.0.0 gobject-2.0.0.0 m pango-1.0.0.0 \
pangoft2-1.0.0.0 pangox-1.0.0.0 pangoxft-1.0.0.0 atk-1.0.0.0 \
fontconfig freetype Xinerama Xrender Xft Xcursor
.endif
2004-08-10 07:16:43 -04:00
MODULES= devel/gettext
CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include -L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include -L${LOCALBASE}/lib" \
LDFLAGS="-pthread"
.include <bsd.port.mk>