2004-12-19 12:36:31 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2004/12/19 17:36:31 alek Exp $
|
2002-05-27 10:39:17 -04:00
|
|
|
|
|
|
|
CATEGORIES= x11
|
|
|
|
|
|
|
|
COMMENT= "GUI for ogle"
|
2003-11-13 13:48:38 -05:00
|
|
|
DISTNAME= ogle_gui-0.9.2
|
2002-05-27 10:39:17 -04:00
|
|
|
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
|
2002-05-27 10:39:17 -04:00
|
|
|
|
2003-02-24 17:57:36 -05:00
|
|
|
LIB_DEPENDS= dvdcontrol.9,msgevents.6::x11/ogle \
|
2002-05-27 10:39:17 -04:00
|
|
|
xml2::textproc/libxml \
|
2003-11-13 13:48:38 -05:00
|
|
|
|
|
|
|
FLAVORS=gtk1
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L} == "gtk1"
|
|
|
|
LIB_DEPENDS+= glade.5.0::devel/libglade \
|
2002-05-27 10:39:17 -04:00
|
|
|
gtk.1.2::x11/gtk+
|
2004-12-19 12:36:31 -05:00
|
|
|
WANTLIB+= Xi gdk glib gmodule xml
|
2003-11-13 13:48:38 -05:00
|
|
|
.else
|
2004-04-02 14:07:04 -05:00
|
|
|
BUILD_DEPENDS+= :pkgconfig-*:devel/pkgconfig
|
2003-11-13 13:48:38 -05:00
|
|
|
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
|
2003-11-13 13:48:38 -05:00
|
|
|
.endif
|
2002-05-27 10:39:17 -04:00
|
|
|
|
2004-08-10 07:16:43 -04:00
|
|
|
MODULES= devel/gettext
|
2002-05-27 10:39:17 -04:00
|
|
|
|
|
|
|
CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include -L${LOCALBASE}/lib" \
|
|
|
|
CPPFLAGS="-I${LOCALBASE}/include -L${LOCALBASE}/lib" \
|
|
|
|
LDFLAGS="-pthread"
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|