4c46ca73d8
Add USES=xorg and USES=gl to ports in categories starting with 'x' While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
39 lines
899 B
Makefile
39 lines
899 B
Makefile
# Created by: Kimura Fuyuki <fuyuki@hadaly.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gtkglext
|
|
PORTVERSION= 1.2.0
|
|
PORTREVISION= 19
|
|
CATEGORIES= x11-toolkits
|
|
MASTER_SITES= SF
|
|
DIST_SUBDIR= gnome2
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= OpenGL extension to GTK+
|
|
|
|
LICENSE= LGPL21+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= gettext gl gmake gnome iconv libtool pathfix pkgconfig \
|
|
tar:bzip2 xorg
|
|
USE_GL= glu
|
|
USE_GNOME= gtk20 pangox-compat
|
|
USE_LDCONFIG= yes
|
|
INSTALL_TARGET= install-strip
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
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-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/reference/gtkglext/html/* ${STAGEDIR}${DOCSDIR}/
|
|
|
|
.include <bsd.port.mk>
|