2004-09-14 20:46:07 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2004/09/15 00:50:10 espie Exp $
|
2003-07-04 16:52:20 -04:00
|
|
|
|
|
|
|
COMMENT= "image viewer/manager"
|
|
|
|
DISTNAME= pornview-0.2.0pre1
|
|
|
|
CATEGORIES= graphics
|
|
|
|
|
|
|
|
HOMEPAGE= http://pornview.sourceforge.net/
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pornview/}
|
|
|
|
|
2004-01-30 03:39:48 -05:00
|
|
|
MAINTAINER= Xavier Santolaria <xsa@openbsd.org>
|
2003-07-04 16:52:20 -04:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2004-07-07 10:48:23 -04:00
|
|
|
FLAVORS= mplayer
|
|
|
|
FLAVOR?=
|
|
|
|
|
2004-09-14 20:46:07 -04:00
|
|
|
LIB_DEPENDS= gdk_pixbuf.2::graphics/gdk-pixbuf \
|
|
|
|
charset::converters/libiconv
|
|
|
|
|
2003-07-04 16:52:20 -04:00
|
|
|
|
2004-07-07 10:48:23 -04:00
|
|
|
.if ${FLAVOR:L:Mmplayer}
|
|
|
|
CONFIGURE_ARGS+=--enable-mplayer
|
|
|
|
RUN_DEPENDS= :mplayer-*:x11/mplayer
|
|
|
|
.endif
|
|
|
|
|
2003-07-04 16:52:20 -04:00
|
|
|
USE_X11= Yes
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
|
|
|
|
-I${LOCALBASE}/include/libpng" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|