summaryrefslogtreecommitdiffstats
path: root/graphics/glitz/Makefile
blob: 3af7caa4b3a4f1bdf6b8fd0c53d87a86d979d456 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:    glitz
# Date created:     2004-10-06
# Whom:         Michael Johnson <ahze@ahze.net>
#
# $FreeBSD$
#   $MCom: ports/graphics/glitz/Makefile,v 1.2 2005/06/28 05:40:05 adamw Exp $
#

PORTNAME=   glitz
PORTVERSION=    0.4.3
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_AUTOTOOLS=  libtool: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>