freebsd-ports/x11-toolkits/gtkglext/Makefile
Tijl Coosemans 01c3ad619e - USES=libtool tar:bzip2.
- Remove indirect dependencies.
2014-05-06 16:06:45 +00:00

39 lines
877 B
Makefile

# Created by: Kimura Fuyuki <fuyuki@hadaly.org>
# $FreeBSD$
PORTNAME= gtkglext
PORTVERSION= 1.2.0
PORTREVISION= 15
CATEGORIES= x11-toolkits
MASTER_SITES= SF
DIST_SUBDIR= gnome2
MAINTAINER= ports@FreeBSD.org
COMMENT= OpenGL extension to GTK+
LICENSE= GPLv2
GNU_CONFIGURE= yes
USES= gettext gmake iconv libtool:keepla pathfix pkgconfig tar:bzip2
USE_GL= glu
USE_GNOME= gtk20 pangox-compat
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
.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} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/reference/gtkglext/html/* ${STAGEDIR}${DOCSDIR}/
.endif
.include <bsd.port.mk>