freebsd-ports/x11-toolkits/gtkglext/Makefile
Niclas Zeising 92ea0d614b The FreeBSD x11 team proudly presents
an zeising, kwm, miwi, bapt, eadler production:

Xorg 7.7

Starring:
xserver 1.12.4 (new xorg only)
Mesa 8.0.4, including libGL, libGLU and dri (new xorg only)
libX11 1.5.0
libxcb 1.9
libdrm 2.4.42 (new xorg only)
freeglut 2.8.1
Also starring:
Updates to drivers and other libraries and utilities

Additional notes:
Change pkgconf to be a build dependency.
Add a new USE_XORG, xcb, to depend on libxcb and update all ports to use
this.
Trim makefile headers.
Take maintanership of x11/xcb-proto, ok'd by ashish.
If you are running WITH_NEW_XORG=, you need to rebuild all installed
drivers, see UPDATING for more information.
Various fixes to make ports compile.

PR:		ports/177942
Exp-run by:	miwi
Approved by:	portmgr (miwi)

Thanks to all who helped testing!
2013-05-25 14:37:02 +00:00

52 lines
1.3 KiB
Makefile

# Created by: Kimura Fuyuki <fuyuki@hadaly.org>
# $FreeBSD$
PORTNAME= gtkglext
PORTVERSION= 1.2.0
PORTREVISION= 10
CATEGORIES= x11-toolkits
MASTER_SITES= SF
DIST_SUBDIR= gnome2
MAINTAINER= ports@FreeBSD.org
COMMENT= OpenGL extension to GTK+
LICENSE= GPLv2
LIB_DEPENDS= pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
pcre:${PORTSDIR}/devel/pcre \
cairo:${PORTSDIR}/graphics/cairo \
drm:${PORTSDIR}/graphics/libdrm \
png15:${PORTSDIR}/graphics/png \
freetype:${PORTSDIR}/print/freetype2 \
expat:${PORTSDIR}/textproc/expat2 \
fontconfig:${PORTSDIR}/x11-fonts/fontconfig
OPTIONS_DEFINE= DOCS
USE_BZIP2= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
USE_XORG= ice pixman sm x11 xau xcb xcomposite xcursor xdamage xdmcp \
xext xfixes xi xinerama xmu xrandr xrender xt xxf86vm
USE_GL= glu
USES= pathfix pkgconfig gettext iconv
USE_GNOME= gdkpixbuf2 gtk20
USE_LDCONFIG= yes
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e \
'/^SUBDIRS/s|docs||' ${WRKSRC}/Makefile.in
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|-DGTK_DISABLE_DEPRECATED||g ; \
s|-DGDK_DISABLE_DEPRECATED||g'
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/reference/gtkglext/html/* ${DOCSDIR}
.endif
.include <bsd.port.mk>