2007-09-15 16:04:18 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.23 2007/09/15 20:04:23 merdely Exp $
|
2002-05-27 10:39:17 -04:00
|
|
|
|
|
|
|
CATEGORIES= x11
|
|
|
|
|
2007-09-15 16:04:18 -04:00
|
|
|
COMMENT= GUI for ogle
|
2003-11-13 13:48:38 -05:00
|
|
|
DISTNAME= ogle_gui-0.9.2
|
2007-02-10 19:56:57 -05:00
|
|
|
PKGNAME= ${DISTNAME}p4
|
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
|
|
|
|
2006-09-18 06:21:48 -04: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
|
|
|
|
2006-11-13 08:01:37 -05:00
|
|
|
USE_X11= Yes
|
2007-04-01 15:59:40 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2006-11-13 08:01:37 -05:00
|
|
|
|
2003-11-13 13:48:38 -05:00
|
|
|
FLAVORS=gtk1
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L} == "gtk1"
|
2006-09-18 06:21:48 -04:00
|
|
|
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
|
2003-11-13 13:48:38 -05:00
|
|
|
.else
|
2006-09-18 08:19:39 -04:00
|
|
|
LIB_DEPENDS+= glade-2.0::devel/libglade2 \
|
|
|
|
gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2
|
2003-11-13 13:48:38 -05:00
|
|
|
CONFIGURE_ARGS+=--enable-gtk2
|
2007-02-10 19:56:57 -05:00
|
|
|
WANTLIB+= ICE SM Xrender atk-1.0 fontconfig freetype glib-2.0 \
|
2006-09-18 08:19:39 -04:00
|
|
|
gmodule-2.0 gobject-2.0 m pango-1.0 \
|
|
|
|
pangocairo-1.0 pangoft2-1.0 cairo glitz png
|
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>
|