openbsd-ports/graphics/pornview/Makefile

43 lines
981 B
Makefile
Raw Normal View History

2007-12-15 15:54:19 -05:00
# $OpenBSD: Makefile,v 1.10 2007/12/15 20:54:19 ajacoutot Exp $
COMMENT= image viewer/manager
DISTNAME= pornview-0.2.0pre1
2007-12-15 15:54:19 -05:00
PKGNAME= ${DISTNAME}p3
CATEGORIES= graphics
HOMEPAGE= http://pornview.sourceforge.net/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pornview/}
MAINTAINER= Xavier Santolaria <xsa@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2007-11-13 12:10:25 -05:00
WANTLIB= gmodule Xi gtk Xext c X11 Xau Xdmcp jpeg m gdk glib \
Xinerama glib tiff z png charset
FLAVORS= mplayer
FLAVOR?=
MODULES= devel/gettext
2007-12-15 15:54:19 -05:00
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils
2006-08-03 08:53:18 -04:00
LIB_DEPENDS= gdk_pixbuf.>=2::graphics/gdk-pixbuf
2004-09-14 20:46:07 -04:00
.if ${FLAVOR:L:Mmplayer}
CONFIGURE_ARGS+=--enable-mplayer
2007-12-15 15:54:19 -05:00
RUN_DEPENDS+= :mplayer-*:x11/mplayer
.endif
USE_X11= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
-I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>