summaryrefslogblamecommitdiff
path: root/graphics/glitz/Makefile
blob: e7cd752d493c4fd9b79b1c80b10010bf39726457 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                       
                     
                        
                                                   
 
                                 







                                                

                                              









                                                       
# New ports collection makefile for:	glitz
# Date created:		2004-10-06
# Whom:			Michael Johnson <ahze@ahze.net>
#
# $FreeBSD$
#

PORTNAME=	glitz
PORTVERSION=	0.4.0
CATEGORIES=	graphics
MASTER_SITES=	http://cairographics.org/snapshots/

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	OpenGL image compositing library

USE_REINPLACE=	yes
USE_GL=		yes
USE_GNOME=	pkgconfig gnometarget gnomehack
USE_LIBTOOL_VER=15
INSTALLS_SHLIB=	yes

CONFIGURE_ENV=	CPPFLAGS="${PTHREAD_CFLAGS}" \
		LDFLAGS="${PTHREAD_LIBS}"

.include <bsd.port.pre.mk>

post-patch:
.if ${OSVERSION} < 500000
	@${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' \
		${WRKSRC}/src/glitz.h
.endif

.include <bsd.port.post.mk>