freebsd-ports/graphics/pornview/Makefile

52 lines
1.3 KiB
Makefile
Raw Normal View History

2002-11-24 02:06:12 +01:00
# New ports collection Makefile for: pornview
# Date created: 24 Nov 2002
# Whom: Tilman Linneweh <arved@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= pornview
PORTVERSION= 0.2.0.p.1
2009-01-08 18:12:23 +01:00
PORTREVISION= 19
2002-11-24 02:06:12 +01:00
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p./pre/}
2002-11-24 02:06:12 +01:00
MAINTAINER= dinoex@FreeBSD.org
2003-02-20 19:08:19 +01:00
COMMENT= PornView is an image viewer/manager
2002-11-24 02:06:12 +01:00
2007-05-27 17:25:47 +02:00
LIB_DEPENDS= exif.12:${PORTSDIR}/graphics/libexif
2009-01-04 20:19:59 +01:00
LIB_DEPENDS+= xcb-render-util:${PORTSDIR}/x11/xcb-util
2002-11-24 02:06:12 +01:00
2007-12-11 21:28:23 +01:00
USE_XORG= x11 xi xext xinerama
2008-05-04 14:19:09 +02:00
USE_GNOME= gtk20
GNU_CONFIGURE= yes
2008-05-04 14:19:09 +02:00
CONFIGURE_ARGS= --with-gtk2
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.if defined(WITH_LIBXINE)
2007-02-15 09:35:23 +01:00
LIB_DEPENDS+= xine.1:${PORTSDIR}/multimedia/libxine
CONFIGURE_ARGS+= --enable-xine
2005-04-13 17:14:43 +02:00
.elif defined(WITH_MPLAYER)
RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer
CONFIGURE_ARGS+= --enable-mplayer
.endif
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= WITH_NLS="@comment "
.else
PLIST_SUB+= WITH_NLS=""
.endif
2002-11-24 02:06:12 +01:00
post-patch:
@${REINPLACE_CMD} -e \
's|INCLUDED_LIBINTL=yes|INCLUDED_LIBINTL=no|g ; \
s|\\[$$][{]top_builddir[}]/intl/libintl.a|-lintl|g' \
${WRKSRC}/configure
@${REINPLACE_CMD} 's|#define GTK_DISABLE_DEPRECATED||g' \
${WRKSRC}/src/support/widgets/*.c
2002-11-24 02:06:12 +01:00
.include <bsd.port.mk>