summaryrefslogtreecommitdiff
path: root/graphics/vertex/Makefile
blob: 890c9b4e05b32d2c58007f79bcceb442d5a0c105 (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
# 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=	sobomax@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

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

.include <bsd.port.mk>