summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtkglext/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-03-31 01:47:54 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-03-31 01:47:54 +0800
commit90f7d75735cd9f6f4dd2bafa755f2eb130d3ce72 (patch)
tree221f4736bc41e43480a303d9ef76999ba0244903 /x11-toolkits/gtkglext/Makefile
parentae143d815afbbc2a7e8ae2ea6c0c24d8593d455c (diff)
downloadmarcuscom-ports-90f7d75735cd9f6f4dd2bafa755f2eb130d3ce72.tar
marcuscom-ports-90f7d75735cd9f6f4dd2bafa755f2eb130d3ce72.tar.gz
marcuscom-ports-90f7d75735cd9f6f4dd2bafa755f2eb130d3ce72.tar.bz2
marcuscom-ports-90f7d75735cd9f6f4dd2bafa755f2eb130d3ce72.tar.lz
marcuscom-ports-90f7d75735cd9f6f4dd2bafa755f2eb130d3ce72.tar.xz
marcuscom-ports-90f7d75735cd9f6f4dd2bafa755f2eb130d3ce72.tar.zst
marcuscom-ports-90f7d75735cd9f6f4dd2bafa755f2eb130d3ce72.zip
fix build with new pango, add depend on pangox-compat
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@17259 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/gtkglext/Makefile')
-rw-r--r--x11-toolkits/gtkglext/Makefile56
1 files changed, 56 insertions, 0 deletions
diff --git a/x11-toolkits/gtkglext/Makefile b/x11-toolkits/gtkglext/Makefile
new file mode 100644
index 000000000..9a2aa8fa9
--- /dev/null
+++ b/x11-toolkits/gtkglext/Makefile
@@ -0,0 +1,56 @@
+# Created by: Kimura Fuyuki <fuyuki@hadaly.org>
+# $FreeBSD: head/x11-toolkits/gtkglext/Makefile 315433 2013-03-28 03:28:30Z eadler $
+
+PORTNAME= gtkglext
+PORTVERSION= 1.2.0
+PORTREVISION= 11
+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 \
+ xcb:${PORTSDIR}/x11/libxcb \
+ fontconfig:${PORTSDIR}/x11-fonts/fontconfig
+
+OPTIONS_DEFINE= DOCS
+
+USE_BZIP2= yes
+USE_GETTEXT= yes
+USE_ICONV= yes
+USE_PKGCONFIG= build
+USE_GMAKE= yes
+USE_AUTOTOOLS= libtool
+USE_XORG= ice pixman sm x11 xau xcomposite xcursor xdamage xdmcp xext \
+ xfixes xi xinerama xmu xrandr xrender xt xxf86vm
+USE_GL= glu
+USES= pathfix
+USE_GNOME= gdkpixbuf2 gtk20 pangox-compat
+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>