1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/graphics/pornview/Makefile
Pawel Pekala a7de976699 - Port is stage safe
- Fix recursive COMMENT
- Convert to new LIB_DEPENDS format
- Use options helpers, subs
2014-04-28 12:54:19 +00:00

47 lines
1.2 KiB
Makefile

# Created by: Tilman Linneweh <arved@FreeBSD.org>
# $FreeBSD$
PORTNAME= pornview
PORTVERSION= 0.2.0.p.1
PORTREVISION= 28
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/OldFiles
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p./pre/}
MAINTAINER= ports@FreeBSD.org
COMMENT= Image viewer/manager
LIB_DEPENDS= libexif.so:${PORTSDIR}/graphics/libexif \
libpng15.so:${PORTSDIR}/graphics/png \
libxcb-render-util.so:${PORTSDIR}/x11/xcb-util-renderutil
USE_XORG= x11 xi xext xinerama
USES= pkgconfig
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gtk2
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lm
OPTIONS_DEFINE= LIBXINE MPLAYER NLS
OPTIONS_DEFAULT= LIBXINE
OPTIONS_SUB= yes
LIBXINE_CONFIGURE_ENABLE= xine
LIBXINE_LIB_DEPENDS= libxine.so:${PORTSDIR}/multimedia/libxine
MPLAYER_CONFIGURE_ENABLE= mplayer
MPLAYER_RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
NLS_CONFIGURE_ENABLE= nls
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
.include <bsd.port.mk>