1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/graphics/pornview/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

49 lines
1.2 KiB
Makefile

# 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
PORTREVISION= 17
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p./pre/}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= PornView is an image viewer/manager
LIB_DEPENDS= exif.12:${PORTSDIR}/graphics/libexif
USE_XORG= x11 xi xext xinerama
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gtk2
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.if defined(WITH_LIBXINE)
LIB_DEPENDS+= xine.1:${PORTSDIR}/multimedia/libxine
CONFIGURE_ARGS+= --enable-xine
.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
post-patch:
@${REINPLACE_CMD} -e \
's|INCLUDED_LIBINTL=yes|INCLUDED_LIBINTL=no|g ; \
s|\\[$$][{]top_builddir[}]/intl/libintl.a|-lintl|g' \
${WRKSRC}/configure
.include <bsd.port.mk>