aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gtkglextmm/Makefile
blob: 0b8ec5fbfccb66f73c1ad3460d271b569432c0c6 (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
30
31
# Created by: Kimura Fuyuki <fuyuki@hadaly.org>

PORTNAME=	gtkglextmm
PORTVERSION=	1.2.0
PORTREVISION=	15
CATEGORIES=	x11-toolkits
MASTER_SITES=	SF/gtkglext/${PORTNAME}/${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	C++ wrapper for GtkGLExt

LIB_DEPENDS=	libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \
		libgtkmm-2.4.so:x11-toolkits/gtkmm24

USES=		compiler:c++11-lang gettext gmake gnome libtool pathfix \
		pkgconfig tar:bzip2
USE_CXXSTD=	c++11
GNU_CONFIGURE=	yes
USE_GNOME=	gnomeprefix gtk20
USE_LDCONFIG=	yes
INSTALL_TARGET=	install-strip

post-patch:
	@${REINPLACE_CMD} -e 's|-DGDK_DISABLE_DEPRECATED||g' \
		-e 's|-DGDK_PIXBUF_DISABLE_DEPRECATED||g' \
		-e 's|-DGTK_DISABLE_DEPRECATED||g' \
		-e 's|-DG_DISABLE_DEPRECATED||g' \
		${WRKSRC}/gdkglext/gdkmm/gl/Makefile.in \
		${WRKSRC}/gtkglext/gtkmm/gl/Makefile.in

.include <bsd.port.mk>