aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/vertex/Makefile
blob: e65b62d1538f8ef591908c9c0df1987af2784121 (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

LIB_DEPENDS=    gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea \
        Imlib.5:${PORTSDIR}/graphics/imlib \
        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_GTK=    yes
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>