aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/vertex/Makefile
blob: 64be134580df951afa36f709c9c9106f1580d1ac (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
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:    vertex
# Date created:             1 June 2001
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   vertex
PORTVERSION=    0.1.10
CATEGORIES= graphics
MASTER_SITES=   ftp://wolfpack.twu.net/users/wolfpack/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A 3D modeller designed specifically for generating efficient game models

LIB_DEPENDS=    gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea \
        tiff.4:${PORTSDIR}/graphics/tiff

WRKSRC=     ${WRKDIR}/${DISTNAME}/vertex

IMLIB_CONFIG?=  ${X11BASE}/bin/imlib-config

USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_MESA=   yes
USE_GNOME=  imlib
MAKE_ENV=   PTHREAD_LIBS="${PTHREAD_LIBS}" \
        IMLIB_CONFIG="${IMLIB_CONFIG}"
INSTALL_TARGET= vertex_install

MAN1=       ${PORTNAME}.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 501000
BROKEN=     "Does not compile"
.endif

pre-patch:
    @${FIND} ${WRKSRC} -name "*.[c,h]" | ${XARGS} ${PERL} -pi -e \
        's|malloc.h|stdlib.h|'

.include <bsd.port.post.mk>