openbsd-ports/graphics/pornview/Makefile

41 lines
909 B
Makefile

# $OpenBSD: Makefile,v 1.7 2007/03/31 12:32:35 steven Exp $
COMMENT= "image viewer/manager"
DISTNAME= pornview-0.2.0pre1
PKGNAME= ${DISTNAME}p1
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
WANTLIB= gmodule Xi gtk Xext c X11 jpeg m gdk glib \
Xinerama glib tiff z png charset
FLAVORS= mplayer
FLAVOR?=
MODULES= devel/gettext
LIB_DEPENDS= gdk_pixbuf.>=2::graphics/gdk-pixbuf
.if ${FLAVOR:L:Mmplayer}
CONFIGURE_ARGS+=--enable-mplayer
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>