freebsd-ports/graphics/pornview/Makefile

43 lines
1.1 KiB
Makefile
Raw Normal View History

2002-11-23 20:06:12 -05: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
PORTREVISION= 4
2002-11-23 20:06:12 -05:00
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p./pre/}
2002-11-23 20:06:12 -05:00
MAINTAINER= ports@FreeBSD.org
2003-02-20 13:08:19 -05:00
COMMENT= PornView is an image viewer/manager
2002-11-23 20:06:12 -05:00
LIB_DEPENDS= exif.10:${PORTSDIR}/graphics/libexif
2002-11-23 20:06:12 -05:00
USE_X_PREFIX= yes
USE_GNOME= gdkpixbuf gnomehack gnomeprefix
2002-11-23 20:06:12 -05:00
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.if defined(WITH_LIBXINE)
LIB_DEPENDS+= xine.9:${PORTSDIR}/multimedia/libxine
CONFIGURE_ARGS+= --enable-xine
.elseif defined(WITH_MPLAYER)
RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer
CONFIGURE_ARGS+= --enable-mplayer
.endif
2002-11-23 20:06:12 -05:00
post-patch:
@${REINPLACE_CMD} -e \
's|INCLUDED_LIBINTL=yes|INCLUDED_LIBINTL=no|g ; \
s|\\[$$][{]top_builddir[}]/intl/libintl.a|-lintl|g ; \
s|[{]datadir[}]/locale|{prefix}/share/locale|g' ${WRKSRC}/configure
2002-11-23 20:06:12 -05:00
.include <bsd.port.mk>