aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gtkimageview/Makefile
blob: cada0d3f804b892625e09bf13348ea5ba32f3b9d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
PORTNAME=	gtkimageview
PORTVERSION=	1.6.4
PORTREVISION=	5
CATEGORIES=	x11-toolkits
MASTER_SITES=	LOCAL/kwm
# http://trac.bjourne.webfactional.com/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Simple image viewer widget

LICENSE=	LGPL21+ # source says LGPL20+ though
LICENSE_FILE=	${WRKSRC}/COPYING

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-static --with-html-dir=${PREFIX}/share/doc
USES=		gnome libtool pathfix pkgconfig
USE_GNOME=	gtk20
USE_LDCONFIG=	yes
INSTALL_TARGET=	install-strip
LIBS=		-lm

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} -e '/^gtkimageview-marshal.[ch]:/s|$$[(]GLIB_GENMARSHAL[)]||'\
		${WRKSRC}/src/Makefile.in
	@${REINPLACE_CMD} -e '/^CFLAGS/s|-Werror||' ${WRKSRC}/configure

.include <bsd.port.mk>